Skip to content

Commit

Permalink
build for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardo-gnosis committed Oct 8, 2024
1 parent f345406 commit dc65f25
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ jobs:

# if: github.event.pull_request.merged == true

strategy:
matrix:
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

steps:

Expand Down Expand Up @@ -54,11 +50,13 @@ jobs:

- name: Push Latest
run: |
docker build . --tag ghcr.io/${{ steps.org_name.outputs.org_name }}/goteth:latest
docker push ghcr.io/${{ steps.org_name.outputs.org_name }}/goteth:latest
docker buildx build --platform linux/amd64,linux/arm64 \
--tag ghcr.io/${{ steps.org_name.outputs.org_name }}/goteth:latest \
--push .
- name: Push Versioned
run: |
docker build . --tag ghcr.io/${{ steps.org_name.outputs.org_name }}/goteth:${{ steps.commit.outputs.short }}
docker push ghcr.io/${{ steps.org_name.outputs.org_name }}/goteth:${{ steps.commit.outputs.short }}
docker buildx build --platform linux/amd64,linux/arm64 \
--tag ghcr.io/${{ steps.org_name.outputs.org_name }}/goteth:${{ steps.commit.outputs.short }} \
--push .

0 comments on commit dc65f25

Please sign in to comment.