Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
Trigger build on tag.
  • Loading branch information
agners committed Nov 28, 2024
2 parents 7412697 + 4e7e3eb commit 69310fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main
- release
tags:
- '**'
pull_request:

jobs:
Expand Down Expand Up @@ -106,6 +108,9 @@ jobs:
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^Dockerfile'; then
echo "Dockerfile or related files changed; building container."
build_needed=true
else
echo "No changes to Dockerfile; using container from base branch."
tag="${{ github.base_ref }}"
fi
fi
fi
Expand Down

0 comments on commit 69310fd

Please sign in to comment.