File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,14 @@ jobs:
32
32
- uses : actions/checkout@v4
33
33
- uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
34
34
- uses : docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
35
+ - uses : actions/setup-go@v5
36
+ with :
37
+ go-version-file : " go.mod"
35
38
- name : Build and publish images to DockerHub
36
39
env :
37
40
DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
38
41
DOCKER_PASS : ${{ secrets.DOCKER_PASS }}
42
+ IMAGE_NAME : " avaplatform/subnet-evm_avalanchego"
39
43
VM_ID : ${{ inputs.vm_id }}
40
44
PUBLISH : 1
41
45
PLATFORMS : " linux/amd64,linux/arm64"
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ if [[ -n "${PLATFORMS}" ]]; then
50
50
DOCKER_CMD=" ${DOCKER_CMD} --platform=${PLATFORMS} "
51
51
if [[ " $PLATFORMS " == * ,* ]]; then # # Multi-arch
52
52
if [[ " ${IMAGE_NAME} " != * " /" * ]]; then
53
- echo " ERROR: Multi-arch images must be pushed to a registry."
53
+ echo " ERROR: Multi-arch images (multi-platform) must be pushed to a registry."
54
54
exit 1
55
55
fi
56
56
ispush=1
You can’t perform that action at this time.
0 commit comments