Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
10f171b6
Commit
10f171b6
authored
Jan 07, 2022
by
neil
Browse files
fix ci
parent
735db1a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/Ubuntu.yml
View file @
10f171b6
...
@@ -52,13 +52,13 @@ jobs:
...
@@ -52,13 +52,13 @@ jobs:
-
name
:
Start StepCA
-
name
:
Start StepCA
if
:
${{ matrix.TEST_ACME_Server=='https://localhost:9000/acme/acme/directory' }}
if
:
${{ matrix.TEST_ACME_Server=='https://localhost:9000/acme/acme/directory' }}
run
:
|
run
:
|
docker run -d \
docker run
--rm
-d \
-p 9000:9000 \
-p 9000:9000 \
-e "DOCKER_STEPCA_INIT_NAME=Smallstep" \
-e "DOCKER_STEPCA_INIT_NAME=Smallstep" \
-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 stepca step ca provisioner add acme --type ACME \
&&
sleep 5 &&
docker exec stepca step ca provisioner add acme --type ACME \
&& docker exec stepca kill -1 1 \
&& docker exec stepca kill -1 1 \
&& docker exec 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment