Skip to content

Commit fc72ea3

Browse files
committed
fix: use @v1 ref with concurrency now that reusable workflow is fixed
1 parent d97ad2a commit fc72ea3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [main]
66
workflow_dispatch: {}
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
version:
1014
runs-on: ubuntu-latest
@@ -30,10 +34,12 @@ jobs:
3034
bump-patch-on-unknown: 'true'
3135

3236
build:
33-
uses: netwarlan/action-container-build/.github/workflows/build-publish.yaml@main
37+
needs: [version]
38+
uses: netwarlan/action-container-build/.github/workflows/build-publish.yaml@v1
3439
secrets: inherit
3540
with:
3641
image-name: ${{ github.event.repository.name }}
42+
version: ${{ needs.version.outputs.new-version }}
3743

3844
release:
3945
needs: [version, build]

0 commit comments

Comments
 (0)