We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5567b89 commit 88a4326Copy full SHA for 88a4326
scripts/build_docker_image.sh
@@ -15,7 +15,8 @@ source "$SUBNET_EVM_PATH"/scripts/versions.sh
15
BUILD_IMAGE_ID=${BUILD_IMAGE_ID:-"${CURRENT_BRANCH}"}
16
17
echo "Building Docker Image: $DOCKERHUB_REPO:$BUILD_IMAGE_ID based of AvalancheGo@$AVALANCHE_VERSION"
18
-docker build -t "$DOCKERHUB_REPO:$BUILD_IMAGE_ID" "$SUBNET_EVM_PATH" -f "$SUBNET_EVM_PATH/Dockerfile" \
+docker build -t "$DOCKERHUB_REPO:$BUILD_IMAGE_ID" -t "$DOCKERHUB_REPO:${SUBNET_EVM_COMMIT::8}" \
19
+ "$SUBNET_EVM_PATH" -f "$SUBNET_EVM_PATH/Dockerfile" \
20
--build-arg AVALANCHE_VERSION="$AVALANCHE_VERSION" \
21
--build-arg SUBNET_EVM_COMMIT="$SUBNET_EVM_COMMIT" \
22
--build-arg CURRENT_BRANCH="$CURRENT_BRANCH"
0 commit comments