File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2525 type=schedule
2626 type=ref,event=branch
2727 type=ref,event=pr
28- type=semver,pattern={{version}}
29- type=semver,pattern={{major}}.{{minor}}
30- type=semver,pattern={{major}}
28+ type=semver,pattern=v {{version}}
29+ type=semver,pattern=v {{major}}.{{minor}}
30+ type=semver,pattern=v {{major}}
3131 type=sha
3232 - name : setup Docker Buildx
3333 uses : docker/setup-buildx-action@v3
Original file line number Diff line number Diff line change 11FROM cgr.dev/chainguard/wolfi-base
22# install step dependencies
3- RUN apk add --no-cache wget step step-ca bash
3+ RUN apk add --no-cache wget step step-ca bash acme.sh
44
55ENV CONFIGPATH="/home/step/config/ca.json"
66ENV PWDPATH="/home/step/secrets/password"
77ENV STEPPATH="/home/step"
88
99RUN mkdir /root-ca
10+ RUN mkdir /root/.acme.sh
1011
1112VOLUME ["/home/step" , "/root-ca" ]
1213
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ function step_ca_init () {
8383 # First we put the root ca cert and intermediate cert in the easiest place to find it in the volume
8484 cp /home/step/certs/root_ca.crt /root-ca/root_ca.crt
8585 cp /home/step/certs/intermediate_ca.crt /root-ca/intermediate_ca.crt
86+ chmod 444 /root-ca/* .crt
8687 # Then we set up the files in the right place for the step client to find them
8788 mkdir -p /root-ca/step/certs
8889 cp /home/step/certs/root_ca.crt /root-ca/step/certs/root_ca.crt
You can’t perform that action at this time.
0 commit comments