Skip to content

Commit

Permalink
use alpine:edge since scratch does not have cp command
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasferrandiz committed Nov 28, 2023
1 parent 257f4fb commit 3a77340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ jobs:
context: .
file: Dockerfile.image
push: true
platforms: linux/amd64,linux/arm64,linux/arm,linux/s390x,linux/ppc64le,linux/riscv64,linux/mips64le
platforms: linux/amd64,linux/arm64,linux/arm,linux/s390x,linux/ppc64le,linux/riscv64
tags: ${{ steps.meta.outputs.tags }}

# build-and-push-multi-arch-image:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.image
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN export GOOS=$(xx-info os) &&\
./scripts/build_flannel.sh &&\
mv ./dist/flannel-${GOARCH} /flannel

FROM scratch
FROM alpine:20230901
ARG GOARCH
COPY --from=build /flannel /flannel

0 comments on commit 3a77340

Please sign in to comment.