Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
revert splitout in matrix
Browse files Browse the repository at this point in the history
This is not supported, as each execution of build-push-action overwrites the last one.

See: docker/build-push-action#130
  • Loading branch information
suntorytimed authored Nov 15, 2022
1 parent e192c88 commit 4f7361f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ env:

jobs:
build:
strategy:
matrix:
architecture: [linux/amd64,linux/arm64,linux/arm/v7,linux/s390x,linux/ppc64le,linux/riscv64]

runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -88,7 +85,7 @@ jobs:
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
with:
context: .
platforms: ${{ matrix.architecture }}
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/s390x,linux/ppc64le,linux/riscv64
push: ${{ github.event_name != 'pull_request' }}
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
Expand Down

0 comments on commit 4f7361f

Please sign in to comment.