Skip to content

Commit

Permalink
Upgrade docker actions to add support for multiple platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
arddluma authored and Sha3nS committed Jul 19, 2023
1 parent 9bb07fb commit 6aa1676
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,18 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME || 'mantlenetworkio' }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Publish L2Geth
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./l2geth/Dockerfile
push: true
tags: mantlenetworkio/l2geth:${{ needs.release.outputs.l2geth }},mantlenetworkio/l2geth:latest
Expand Down

0 comments on commit 6aa1676

Please sign in to comment.