1 Commits

Author SHA1 Message Date
e60f4def11 infra: actions: fix docker changes detector so it doesnt always build on force pushes
Some checks failed
Gentoo Utils / build (push) Has been cancelled
Gentoo Utils / test (push) Has been cancelled
Gentoo Utils / check-format (push) Has been cancelled
Gentoo Utils / docs (push) Has been cancelled
Gentoo Utils / build-oci-image (push) Has been cancelled
2025-12-12 18:27:48 -06:00

View File

@@ -22,7 +22,7 @@ jobs:
image_tag=latest
comparison_hash="${{ gitea.event.before }}"
git --no-pager reflog -n $(git rev-list --count HEAD ^origin/$default_branch_name)
git --no-pager reflog
if [[ "$branch_name" != "${{ gitea.event.repository.default_branch }}" ]]; then
image_tag=$branch_name
fi