From bb08b7dd4368906e08b5ffb9d8275ed176157904 Mon Sep 17 00:00:00 2001 From: Takuma Ishikawa Date: Tue, 12 Dec 2023 14:48:01 +0900 Subject: [PATCH] fix: always build images when tags are pushed (#4040) 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 --- .github/workflows/atlantis-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/atlantis-image.yml b/.github/workflows/atlantis-image.yml index 87d2875766..7d893eb544 100644 --- a/.github/workflows/atlantis-image.yml +++ b/.github/workflows/atlantis-image.yml @@ -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: @@ -152,4 +152,4 @@ jobs: image_type: [alpine, debian] runs-on: ubuntu-22.04 steps: - - run: 'echo "No build required"' \ No newline at end of file + - run: 'echo "No build required"'