Enable multiplatform container build

develop
Nikita Tokarchuk 2 years ago
parent c2b58f21c8
commit 59feb0c835
Signed by: mainnika
GPG Key ID: 5CDEED14F48FA79D
  1. 6
      .github/workflows/image-make-and-publish.yml

@ -33,8 +33,11 @@ jobs:
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@main
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
@ -73,6 +76,7 @@ jobs:
id: build-and-push
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm64
context: .
build-args: |
APP_VERSION=${{ steps.calver.outputs.current }}

Loading…
Cancel
Save