This commit is contained in:
neil 2022-01-07 23:00:34 +08:00
parent b2f4cc2dc5
commit 735db1a12b
1 changed files with 3 additions and 3 deletions

View File

@ -58,9 +58,9 @@ jobs:
-e "DOCKER_STEPCA_INIT_DNS_NAMES=localhost,$(hostname -f)" \ -e "DOCKER_STEPCA_INIT_DNS_NAMES=localhost,$(hostname -f)" \
--name stepca \ --name stepca \
smallstep/step-ca \ smallstep/step-ca \
&& docker exec -it stepca step ca provisioner add acme --type ACME \ && docker exec stepca step ca provisioner add acme --type ACME \
&& docker exec -it stepca kill -1 1 \ && docker exec stepca kill -1 1 \
&& docker exec -it stepca cat /home/step/certs/root_ca.crt >>/etc/ssl/certs/ca-certificates.crt && docker exec stepca cat /home/step/certs/root_ca.crt >>/etc/ssl/certs/ca-certificates.crt
- name: Clone acmetest - name: Clone acmetest
run: | run: |
cd .. \ cd .. \