🐳 Attempt 3 (fixed): Export DEPS_HASH for inline Dockerfile
This commit is contained in:
@@ -54,9 +54,10 @@ jobs:
|
|||||||
source VERSION
|
source VERSION
|
||||||
IMAGE_VERSION="$MAJOR.$MINOR.$PATCH${PRERELEASE:+-$PRERELEASE}"
|
IMAGE_VERSION="$MAJOR.$MINOR.$PATCH${PRERELEASE:+-$PRERELEASE}"
|
||||||
|
|
||||||
# Use the calculated dependency hash
|
# Use the calculated dependency hash and export it
|
||||||
DEPS_HASH="${{ steps.calc_hash.outputs.deps_hash }}"
|
DEPS_HASH="${{ steps.calc_hash.outputs.deps_hash }}"
|
||||||
echo "Using dependency hash: $DEPS_HASH"
|
echo "Using dependency hash: $DEPS_HASH"
|
||||||
|
export DEPS_HASH
|
||||||
|
|
||||||
TAGS="$IMAGE_VERSION latest ${{ github.sha }}"
|
TAGS="$IMAGE_VERSION latest ${{ github.sha }}"
|
||||||
echo "Building Docker image with tags: $TAGS"
|
echo "Building Docker image with tags: $TAGS"
|
||||||
|
|||||||
Reference in New Issue
Block a user