Skip to content

Commit

Permalink
Always run artifact publishing on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Oct 31, 2024
1 parent 96ca80a commit 24b4f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-push-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
packages: write # required for pushing container images
security-events: write # required for pushing SARIF files
needs: changes
if: ${{ needs.changes.outputs.images == 'true' || github.ref_type == 'tag' }}
if: ${{ github.ref_type == 'tag' || needs.changes.outputs.images == 'true' }}
strategy:
matrix:
include:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
runs-on: ubuntu-latest
# Only build and push the chart if chart files have changed
needs: [changes]
if: ${{ needs.changes.outputs.chart == 'true' || github.ref_type == 'tag' }}
if: ${{ github.ref_type == 'tag' || needs.changes.outputs.chart == 'true' }}
steps:
- name: Check out the repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 24b4f2c

Please sign in to comment.