diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 5a6cdcf..8db8e6a 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -41,7 +41,9 @@ jobs: uses: docker/metadata-action@v5 with: images: quay.io/uswitch/klint - tags: type=sha,prefix=,format=long + tags: | + type=semver,pattern={{raw}} + type=sha,prefix=,format=long - uses: docker/build-push-action@v6 with: context: . diff --git a/Dockerfile b/Dockerfile index 4d19aa1..5bc23c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,6 @@ FROM scratch COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -ADD bin/klint /klint +ADD --chmod=755 bin/klint /klint -ENTRYPOINT ["/klint"] +ENTRYPOINT ["/klint"] \ No newline at end of file