Skip to content

Commit 24b4f2c

Browse files
committed
Always run artifact publishing on tags
1 parent 96ca80a commit 24b4f2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-push-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
packages: write # required for pushing container images
4242
security-events: write # required for pushing SARIF files
4343
needs: changes
44-
if: ${{ needs.changes.outputs.images == 'true' || github.ref_type == 'tag' }}
44+
if: ${{ github.ref_type == 'tag' || needs.changes.outputs.images == 'true' }}
4545
strategy:
4646
matrix:
4747
include:
@@ -86,7 +86,7 @@ jobs:
8686
runs-on: ubuntu-latest
8787
# Only build and push the chart if chart files have changed
8888
needs: [changes]
89-
if: ${{ needs.changes.outputs.chart == 'true' || github.ref_type == 'tag' }}
89+
if: ${{ github.ref_type == 'tag' || needs.changes.outputs.chart == 'true' }}
9090
steps:
9191
- name: Check out the repository
9292
uses: actions/checkout@v4

0 commit comments

Comments
 (0)