Skip to content

Commit

Permalink
Fix multiplatform build, update golang version and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danfromtitan committed Oct 24, 2023
1 parent 132262b commit 7a6a2e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
context: ./
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
provenance: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM ubuntu:latest

FROM scratch
ARG TARGETOS
ARG TARGETARCH
COPY target/envars-webhook_${TARGETOS}_${TARGETARCH} /envars-webhook
ENTRYPOINT ["tail", "-f", "/dev/null"]

ENTRYPOINT ["/envars-webhook"]

0 comments on commit 7a6a2e6

Please sign in to comment.