From 632e7e2006f0e1d1beefd36491812afa11bf759f Mon Sep 17 00:00:00 2001 From: Mark McGarry Date: Fri, 8 Dec 2023 16:31:57 +0000 Subject: [PATCH 1/2] fix typo on which file to modify access perms --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 [] From 4089d4cb3e5d70361197666601f6bde710f5e4f5 Mon Sep 17 00:00:00 2001 From: Mark McGarry Date: Fri, 8 Dec 2023 16:36:54 +0000 Subject: [PATCH 2/2] add v prefix to docker tags --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: