Skip to content

Commit

Permalink
Update workflow to build multiple platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
pmanko authored Oct 18, 2022
1 parent 0cf63cd commit 006951d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
USERNAME: ${{ secrets.RELEASE_USERNAME }}
TOKEN: ${{ secrets.RELEASE_TOKEN }}
steps:
-
name: Checkout code
uses: actions/checkout@v2
-
name: Set up Docker Buildx
- name: Checkout
uses: actions/checkout@v3

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

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

- name: Log in to the Container registry
Expand Down Expand Up @@ -88,6 +90,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64/v8
push: true
build-args: |
USERNAME=${{ github.actor }}
Expand Down

0 comments on commit 006951d

Please sign in to comment.