Skip to content

Commit

Permalink
[TASK] USe correct forceRebuild variable in condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
sbuerk committed Sep 27, 2024
1 parent 97962a0 commit 5ed1870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
run: |
UNPUSHED_COUNT="$( git rev-list --count origin/${{ github.ref_name }}..${{ github.ref_name }} )"
if [[ "${UNPUSHED_COUNT}" -eq 0 ]]; then
if [[ "${}" ]]; then
if [[ "${FORCE_REBUILD}" -eq 1 ]]; then
echo ">> No unpushed commits, but force rebuild requested: create release"
echo "DO_RELEASE=1" >> $GITHUB_ENV
else
Expand Down

0 comments on commit 5ed1870

Please sign in to comment.