diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 91fffd893..4c27c3a84 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,9 +9,6 @@ on: jobs: publish: runs-on: ubuntu-latest - strategy: - matrix: - platform: [linux/amd64, linux/arm64/v8] if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Dump GitHub context @@ -43,7 +40,7 @@ jobs: push: true context: . build-args: COMMITHASH=${{ github.event.workflow_run.head_sha }} - platforms: ${{ matrix.platform }} + platforms: linux/amd64,linux/arm64/v8 tags: getfider/fider:PR_${{ github.event.workflow_run.pull_requests[0].number }} cache-from: type=gha cache-to: type=gha,mode=max @@ -55,7 +52,7 @@ jobs: push: true context: . build-args: COMMITHASH=${{ github.event.workflow_run.head_sha }} - platforms: ${{ matrix.platform }} + platforms: linux/amd64,linux/arm64/v8 tags: | getfider/fider:SHA_${{ github.event.workflow_run.head_sha }} getfider/fider:${{ github.event.workflow_run.head_branch == 'main' && 'main' || 'stable' }} @@ -69,7 +66,7 @@ jobs: push: true context: . build-args: COMMITHASH=${{ github.event.workflow_run.head_sha }} - platforms: ${{ matrix.platform }} + platforms: linux/amd64,linux/arm64/v8 tags: getfider/fider:${{ github.event.workflow_run.display_title }} cache-from: type=gha cache-to: type=gha,mode=max