Skip to content

Commit

Permalink
fix: always build images when tags are pushed (#4040)
Browse files Browse the repository at this point in the history
When files of the default branch is the same as files of a tag,
dorny/paths-filter does not detect changes and no new images are pushed.

Co-authored-by: PePe Amengual <[email protected]>
  • Loading branch information
2 people authored and GenPage committed Dec 12, 2023
1 parent d643c52 commit bb08b7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/atlantis-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:
jobs:
changes:
outputs:
should-run-build: ${{ steps.changes.outputs.src == 'true' }}
should-run-build: ${{ steps.changes.outputs.src == 'true' || startsWith(github.ref, 'refs/tags/') }}
if: github.event.pull_request.draft == false
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -152,4 +152,4 @@ jobs:
image_type: [alpine, debian]
runs-on: ubuntu-22.04
steps:
- run: 'echo "No build required"'
- run: 'echo "No build required"'

0 comments on commit bb08b7d

Please sign in to comment.