From 47f4ebed0322001216b0f99129368990eb5c9618 Mon Sep 17 00:00:00 2001 From: yair Date: Thu, 28 Dec 2023 11:20:41 +0200 Subject: [PATCH] testing old image --- .github/workflows/release.yml | 2 +- Dockerfile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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"]