Skip to content

Commit

Permalink
Revert "Changing to use matrix strategy for parallel builds"
Browse files Browse the repository at this point in the history
This reverts commit 55dfbc9.
  • Loading branch information
mattwoberts committed Sep 29, 2024
1 parent 55dfbc9 commit dc5dd6d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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' }}
Expand All @@ -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

0 comments on commit dc5dd6d

Please sign in to comment.