Update .gitea/workflows/build.yaml
build / check (push) Successful in 20s
build / build (push) Successful in 25s

This commit is contained in:
2026-08-26 14:38:13 +02:00
parent 2e49a8eb31
commit 8b414755e6
+4 -1
View File
@@ -70,17 +70,20 @@ jobs:
id: cmp
run: |
set -euo pipefail
if [ "${{ github.event_name }}" != "schedule" ] || [ "${{ inputs.force }}" = "true" ]; then
if [ "${{ github.event_name }}" = "push" ] || [ "${{ github.event.inputs.force }}" = "true" ]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
echo "non-scheduled or forced run - building"
echo "non-scheduled or forced run - building (hash ${{ steps.hash.outputs.hash }})" >> "$GITHUB_STEP_SUMMARY"
exit 0
fi
if docker buildx imagetools inspect "$IMAGE:src-${{ steps.hash.outputs.hash }}" >/dev/null 2>&1; then
echo "changed=false" >> "$GITHUB_OUTPUT"
echo "no change since last build - skipping"
echo "no change since last build - skipping (hash ${{ steps.hash.outputs.hash }})" >> "$GITHUB_STEP_SUMMARY"
else
echo "changed=true" >> "$GITHUB_OUTPUT"
echo "upstream or Dockerfile changed - building"
echo "upstream or Dockerfile changed - building (hash ${{ steps.hash.outputs.hash }})" >> "$GITHUB_STEP_SUMMARY"
fi
- name: Compute date tag