Skip to content

Commit

Permalink
Merge pull request #5 from theohbrothers/enhancement/build-multi-arch…
Browse files Browse the repository at this point in the history
…-docker-image

Enhancement: Build multi arch docker image
  • Loading branch information
leojonathanoh authored Sep 12, 2021
2 parents f394371 + 77e6b79 commit f0af774
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ steps.prep.outputs.CONTEXT }}
platforms: linux/amd64
platforms: linux/386,linux/amd64,linux/arm,linux/arm64,linux/s390x
push: false
tags: |
${{ github.repository }}:${{ steps.prep.outputs.VARIANT_TAG_WITH_REF }}
Expand All @@ -109,7 +109,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ steps.prep.outputs.CONTEXT }}
platforms: linux/amd64
platforms: linux/386,linux/amd64,linux/arm,linux/arm64,linux/s390x
push: true
tags: |
${{ github.repository }}:${{ steps.prep.outputs.VARIANT_TAG_WITH_REF }}
Expand All @@ -124,7 +124,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ steps.prep.outputs.CONTEXT }}
platforms: linux/amd64
platforms: linux/386,linux/amd64,linux/arm,linux/arm64,linux/s390x
push: true
tags: |
${{ github.repository }}:${{ steps.prep.outputs.VARIANT_TAG }}
Expand Down
6 changes: 3 additions & 3 deletions generate/templates/.github/workflows/ci-master-pr.yml.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ $( $VARIANTS | % {
uses: docker/build-push-action@v2
with:
context: ${{ steps.prep.outputs.CONTEXT }}
platforms: linux/amd64
platforms: linux/386,linux/amd64,linux/arm,linux/arm64,linux/s390x
push: false
tags: |
${{ github.repository }}:${{ steps.prep.outputs.VARIANT_TAG_WITH_REF }}
Expand All @@ -119,7 +119,7 @@ $( $VARIANTS | % {
uses: docker/build-push-action@v2
with:
context: ${{ steps.prep.outputs.CONTEXT }}
platforms: linux/amd64
platforms: linux/386,linux/amd64,linux/arm,linux/arm64,linux/s390x
push: true
tags: |
${{ github.repository }}:${{ steps.prep.outputs.VARIANT_TAG_WITH_REF }}
Expand All @@ -134,7 +134,7 @@ $( $VARIANTS | % {
uses: docker/build-push-action@v2
with:
context: ${{ steps.prep.outputs.CONTEXT }}
platforms: linux/amd64
platforms: linux/386,linux/amd64,linux/arm,linux/arm64,linux/s390x
push: true
tags: |
${{ github.repository }}:${{ steps.prep.outputs.VARIANT_TAG }}
Expand Down

0 comments on commit f0af774

Please sign in to comment.