Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Oct 7, 2023
1 parent 9a51e49 commit cea81c8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/schedule-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit cea81c8

Please sign in to comment.