fix stepca

This commit is contained in:
neil 2023-01-24 18:00:09 +08:00
parent deb63b4adf
commit 6748c55c04

View File

@ -86,8 +86,8 @@ jobs:
smallstep/step-ca:0.23.1
sleep 5
docker exec stepca bash -c "echo test >test"
docker exec -it stepca step ca provisioner add acme --type ACME --admin-subject step --admin-password-file=/home/step/test \
docker exec stepca bash -c "echo test >test" \
&& docker exec stepca step ca provisioner add acme --type ACME --admin-subject step --admin-password-file=/home/step/test \
&& docker exec stepca kill -1 1 \
&& docker exec stepca cat /home/step/certs/root_ca.crt | sudo bash -c "cat - >>/etc/ssl/certs/ca-certificates.crt"
- name: Clone acmetest