File tree Expand file tree Collapse file tree 3 files changed +24
-14
lines changed
Expand file tree Collapse file tree 3 files changed +24
-14
lines changed Original file line number Diff line number Diff line change 3737 uses : tj-actions/branch-names@v7
3838
3939 - name : Build Docker image
40- uses : strangelove-ventures/heighliner-build-action@v0 .0.3
40+ uses : strangelove-ventures/heighliner-build-action@v1 .0.3
4141 with :
4242 registry : # empty registry, image only shared for e2e testing
4343 tag : local # emulate local environment for consistency in interchaintest cases
@@ -79,16 +79,16 @@ jobs:
7979 needs : build-docker
8080 runs-on : ubuntu-latest
8181 strategy :
82- matrix :
83- # names of `make` commands to run tests
84- test :
85- - " ictest-upgrade"
86- - " ictest-ibc"
87- - " ictest-ibchooks"
88- - " ictest-pfm"
89- - " ictest-lsm"
90- - " ictest-liquidstake"
91- fail-fast : false
82+ matrix :
83+ # names of `make` commands to run tests
84+ test :
85+ - " ictest-upgrade"
86+ - " ictest-ibc"
87+ - " ictest-ibchooks"
88+ - " ictest-pfm"
89+ - " ictest-lsm"
90+ - " ictest-liquidstake"
91+ fail-fast : false
9292
9393 steps :
9494 # Load the docker image tarball from github actions artifacts and run tests (one runner per test due to matrix)
9999
100100 - name : Load Docker Image
101101 run : docker image load -i ${{ env.TAR_PATH }}
102-
102+ - name : Tag loaded Docker image
103+ run : |
104+ set -e
105+ IMAGE_ID=$(docker images persistence --format '{{.Repository}}:{{.Tag}} {{.ID}}' | grep '^persistence:' | awk '{print $2}' | head -n 1)
106+ if [ -z "$IMAGE_ID" ]; then
107+ echo "Could not find any image tagged with repository 'persistence'"
108+ docker images
109+ exit 1
110+ fi
111+ echo "Found image ID: $IMAGE_ID — tagging as persistence:local"
112+ docker tag "$IMAGE_ID" persistence:local
103113 - name : Setup Go with cache
104114 uses : magnetikonline/action-golang-cache@v4
105115 with :
Original file line number Diff line number Diff line change 5151 uses : tj-actions/branch-names@v7
5252
5353 - name : Build and push Docker image
54- uses :
strangelove-ventures/[email protected] .0 54+ uses :
strangelove-ventures/[email protected] .3 5555 with :
5656 platform : linux/arm64,linux/amd64
5757 git-ref : ${{ steps.branch-name.outputs.current_branch }}
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ release-git:
242242
243243get-heighliner :
244244 git clone https://github.com/strangelove-ventures/heighliner.git
245- cd heighliner && git checkout v1.7.3 && go install
245+ cd heighliner && git checkout v1.7.4 && go install
246246
247247local-image :
248248ifeq (,$(shell which heighliner) )
You can’t perform that action at this time.
0 commit comments