Skip to content

Commit

Permalink
add goreleaser to base dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
2xburnt committed Sep 27, 2024
1 parent a868ab8 commit e8f1c66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ jobs:
- name: Add to dockerfile
working-directory: /home/runner/_work/goreleaser-cross/goreleaser-cross
run: |
echo "FROM ghcr.io/goreleaser/goreleaser$GORELEASER_DISTRIBUTION:v$GORELEASER_VERSION$GORELEASER_DISTRIBUTION AS goreleaser" >> Dockerfile.base
echo "FROM 1" >> Dockerfile.base
echo "COPY --from=goreleaser /usr/bin/goreleaser /usr/bin/goreleaser" >> Dockerfile.base
echo "COPY --from=ghcr.io/goreleaser/goreleaser$GORELEASER_DISTRIBUTION:v$GORELEASER_VERSION$GORELEASER_DISTRIBUTION /usr/bin/goreleaser /usr/bin/goreleaser" >> Dockerfile.base
- name: Build and push by digest
id: build
Expand Down

0 comments on commit e8f1c66

Please sign in to comment.