Browse Source

Specify platform on publish-image workflow

pull/1995/head
Hironsan 2 years ago
parent
commit
af1737125f
1 changed files with 3 additions and 0 deletions
  1. 3
      .github/workflows/publish-image.yml

3
.github/workflows/publish-image.yml

@ -41,6 +41,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./docker/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
@ -50,6 +51,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./docker/Dockerfile.prod
push: ${{ github.event_name != 'pull_request' }}
tags: doccano/doccano:backend
@ -59,6 +61,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./docker/Dockerfile.nginx
push: ${{ github.event_name != 'pull_request' }}
tags: doccano/doccano:frontend

Loading…
Cancel
Save