From cea81c8c1bf41ce467497e18baee434523d0ab4a Mon Sep 17 00:00:00 2001 From: Markus Blaschke Date: Sat, 7 Oct 2023 23:33:12 +0200 Subject: [PATCH] fix docker build Signed-off-by: Markus Blaschke --- .github/workflows/release-docker.yaml | 5 ----- .github/workflows/schedule-docker.yaml | 5 ----- Dockerfile | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yaml index df302fb..c36a4cc 100644 --- a/.github/workflows/release-docker.yaml +++ b/.github/workflows/release-docker.yaml @@ -38,11 +38,6 @@ jobs: target: "final-static" suffix: "" latest: "auto" - - - Dockerfile: Dockerfile - target: "final-azcli" - suffix: -azcli - latest: false runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/schedule-docker.yaml b/.github/workflows/schedule-docker.yaml index d87f65d..f5efab7 100644 --- a/.github/workflows/schedule-docker.yaml +++ b/.github/workflows/schedule-docker.yaml @@ -33,11 +33,6 @@ jobs: target: "final-static" suffix: "" latest: "auto" - - - Dockerfile: Dockerfile - target: "final-azcli" - suffix: -azcli - latest: false runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index 3641618..53c8d32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN ["./shelly-plug-exporter", "--help"] ############################################# # Final ############################################# -FROM gcr.io/distroless/static +FROM gcr.io/distroless/static as final-static ENV LOG_JSON=1 WORKDIR / COPY --from=test /app .