fixes
Some checks failed
Some checks failed
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
image_tag=latest
|
||||
comparison_hash="${{ gitea.event.before }}"
|
||||
|
||||
if [[ "$branch_name" != "${{ gitea.event.repository.default_branch }}" ]]; then
|
||||
if [[ "$branch_name" != "$default_branch_name" ]]; then
|
||||
image_tag=$branch_name
|
||||
fi
|
||||
# slugify
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "default_branch_name=$default_branch_name"
|
||||
echo "default_branch_name=$default_branch_name" >> $GITEA_OUTPUT
|
||||
echo "branch_name=$branch_name" >> $GITEA_OUTPUT
|
||||
echo "image_tag=$image_tag" >> $GITEA_OUTPUT
|
||||
echo "comparison_hash=$comparison_hash" >> $GITEA_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user