File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ function build_images {
53
53
54
54
# Define default build command
55
55
local docker_cmd=" docker buildx build --build-arg GO_VERSION=${GO_VERSION} --build-arg NODE_IMAGE=${node_image_name} "
56
+ if [[ -n " ${IMAGE_PREFIX} " ]]; then
57
+ # Push images with an image prefix since the prefix defines a registry location
58
+ docker_cmd=" ${docker_cmd} --push"
59
+ fi
56
60
57
61
# Build node image first to allow the workload image to be based on it.
58
62
${docker_cmd} --build-arg AVALANCHEGO_NODE_IMAGE=" ${avalanche_node_image} " -t " ${node_image_name} " \
@@ -102,6 +106,6 @@ git checkout -B "test-${AVALANCHE_VERSION}" "${AVALANCHE_VERSION}"
102
106
cd " ${SUBNET_EVM_PATH} "
103
107
104
108
# Build avalanchego node image. Supply an empty tag so the tag can be discovered from the hash of the avalanchego repo.
105
- NODE_ONLY=1 TEST_SETUP=avalanchego IMAGE_PREFIX= " ${IMAGE_PREFIX} " TAG=' ' bash -x " ${AVALANCHEGO_CLONE_PATH} " /scripts/build_antithesis_images.sh
109
+ NODE_ONLY=1 TEST_SETUP=avalanchego TAG=' ' bash -x " ${AVALANCHEGO_CLONE_PATH} " /scripts/build_antithesis_images.sh
106
110
107
111
build_images antithesis-subnet-evm " ${SUBNET_EVM_PATH} /Dockerfile" " antithesis-avalanchego-node:${AVALANCHE_VERSION:: 8} "
Original file line number Diff line number Diff line change 4
4
# shellcheck disable=SC2034
5
5
6
6
# Don't export them as they're used in the context of other calls
7
- AVALANCHE_VERSION=${AVALANCHE_VERSION:- ' ad654210e ' }
7
+ AVALANCHE_VERSION=${AVALANCHE_VERSION:- ' 133b33e2b ' }
8
8
GINKGO_VERSION=${GINKGO_VERSION:- ' v2.2.0' }
9
9
10
10
# This won't be used, but it's here to make code syncs easier
You can’t perform that action at this time.
0 commit comments