1 Commits

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

View File

@@ -16,6 +16,8 @@ jobs:
id: image-changes
# build image only if 1. changes are detected or 2. an image for the working branch doesnt exist
run: |
git --no-pager log --oneine
echo "BEFORE = ${{ gitea.event.before }}"
branch_name="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
default_branch_name="${{ gitea.event.repository.default_branch }}"
image_tag=latest