Skip to content

Commit

Permalink
ci(actions): add multiple platforms to build and push step to support…
Browse files Browse the repository at this point in the history
… arm64 platforms
  • Loading branch information
danvergara committed Jan 3, 2024
1 parent 8ffd944 commit 365f0be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
Expand All @@ -29,6 +31,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.actor }}/morphos-server:latest
build-args: GO_VERSION=${{ env.GO_VERSION }}

0 comments on commit 365f0be

Please sign in to comment.