File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,8 @@ function build_images {
35
35
36
36
# Define image names
37
37
local base_image_name=" antithesis-${test_setup} "
38
- local avalanchego_node_image_name=" antithesis-avalanchego-node:${TAG} "
39
38
if [[ -n " ${image_prefix} " ]]; then
40
39
base_image_name=" ${image_prefix} /${base_image_name} "
41
- avalanchego_node_image_name=" ${image_prefix} /${avalanchego_node_image_name} "
42
40
fi
43
41
local node_image_name=" ${base_image_name} -node:${TAG} "
44
42
local workload_image_name=" ${base_image_name} -workload:${TAG} "
@@ -58,8 +56,9 @@ function build_images {
58
56
local docker_cmd=" docker buildx build --build-arg GO_VERSION=${GO_VERSION} --build-arg NODE_IMAGE=${node_image_name} "
59
57
60
58
if [[ " ${test_setup} " == " xsvm" ]]; then
61
- # The xsvm node image is built on the avalanchego node image
62
- docker_cmd=" ${docker_cmd} --build-arg AVALANCHEGO_NODE_IMAGE=${avalanchego_node_image_name} "
59
+ # The xsvm node image is built on the avalanchego node image, which is assumed to have already been
60
+ # built. The image name doesn't include the image prefix because it is not intended to be pushed.
61
+ docker_cmd=" ${docker_cmd} --build-arg AVALANCHEGO_NODE_IMAGE=antithesis-avalanchego-node:${TAG} "
63
62
fi
64
63
65
64
# Build node image first to allow the workload image to use it.
You can’t perform that action at this time.
0 commit comments