diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index e1dc6c2..263e86d 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -44,7 +44,7 @@ jobs: with: images: quay.io/uswitch/vault-creds tags: | - type=semver,pattern={{version}} + type=semver,pattern=v{{version}} type=sha,prefix=,format=long, - uses: docker/build-push-action@v4 with: diff --git a/Dockerfile b/Dockerfile index 5392867..a157e4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ RUN apk add -U --no-cache ca-certificates FROM scratch -ADD bin/vaultcreds /vaultcreds +COPY --chmod=755 bin/vaultcreds /vaultcreds -COPY --chmod=755 --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ ENTRYPOINT ["/vaultcreds"] CMD []