diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b76944..99e98d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,7 @@ jobs: uses: goreleaser/goreleaser-action@v3 with: version: latest - args: release --rm-dist + args: release --rm-dist --snapshot env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/Dockerfile b/Dockerfile index e7ce54c..7a9b264 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM golang:1.21-alpine +FROM gcr.io/distroless/static-debian11 + +USER nonroot:nonroot ENTRYPOINT ["/usr/bin/port-k8s-exporter"]