Skip to content

Commit

Permalink
refactor: Remove redundant release-binaries-multiarch build step.
Browse files Browse the repository at this point in the history
Signed-off-by: Carson Boden <[email protected]>
  • Loading branch information
cwboden committed Oct 26, 2023
1 parent fb05a13 commit 8f5bde8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
earthly \
--push \
+release-binaries-multiarch \
+release-binaries \
--version=${{ env.RELEASE_VERSION }} \
--commitSHA=${{ env.SHORT_SHA }} \
--token ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 1 addition & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ build:
BUILD +build-helm

release-multiarch:
BUILD +release-binaries-multiarch
BUILD +release-binaries
BUILD +build-image-multiarch

release:
Expand Down Expand Up @@ -96,9 +96,6 @@ build-binaries:

SAVE ARTIFACT _dist AS LOCAL ./dist

release-binaries-multiarch:
BUILD --platform=linux/arm64 --platform=linux/amd64 +release-binaries

release-binaries:
FROM alpine:${ALPINE_VERSION}

Expand Down
3 changes: 1 addition & 2 deletions Earthfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ graph TD
build-image-multiarch --> build-image
release --> build-image
release --> release-binaries
release-multiarch --> release-binaries-multiarch
release-binaries-multiarch --> release-binaries
release-multiarch --> release-binaries
release-multiarch --> build-image-multiarch
release-binaries --> build-binaries
```

0 comments on commit 8f5bde8

Please sign in to comment.