🐛 fix: include Dockerfile.build in dependency hash calculation
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 3m27s
CI/CD Pipeline / CI Pipeline (push) Failing after 16s

This commit is contained in:
2026-04-08 10:49:18 +02:00
parent b6b5a03942
commit db4922be05
2 changed files with 3 additions and 2 deletions

View File

@@ -71,8 +71,8 @@ jobs:
- name: Calculate dependency hash
id: calculate_hash
run: |
# Calculate hash of go.mod + go.sum (inline, no script needed)
DEPS_HASH=$(sha256sum go.mod go.sum | sha256sum | cut -d' ' -f1 | head -c 12)
# Calculate hash of go.mod + go.sum + Dockerfile.build (inline, no script needed)
DEPS_HASH=$(sha256sum go.mod go.sum docker/Dockerfile.build | sha256sum | cut -d' ' -f1 | head -c 12)
echo "Dependency hash: $DEPS_HASH"
echo "deps_hash=$DEPS_HASH" >> $GITHUB_OUTPUT