File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ jobs:
4343 arm64) : "arm64v8/alpine:${{ matrix.version }}" ;;
4444 esac
4545 base="$_"
46- docker pull -q $base &>/dev/null
47- docker pull -q $repo &>/dev/null
48- basesha=$(docker image inspect $base | jq --raw-output '.[0].RootFS.Layers|.[]')
49- reposha=$(docker image inspect $repo | jq --raw-output '.[0].RootFS.Layers|.[]')
46+ docker pull -q --platform=linux/${{ matrix.version }} $base &>/dev/null
47+ docker pull -q --platform=linux/${{ matrix.version }} $repo &>/dev/null
48+ basesha=$(docker image inspect --platform=linux/${{ matrix.version }} $base | jq --raw-output '.[0].RootFS.Layers|.[]')
49+ reposha=$(docker image inspect --platform=linux/${{ matrix.version }} $repo | jq --raw-output '.[0].RootFS.Layers|.[]')
5050 echo "base sha:$basesha repo sha:$reposha"
5151 ${{ github.event.inputs.buildtype == 'force' }} && echo "images=true" >> $GITHUB_OUTPUT || echo "no force"
5252 [[ $reposha == *$basesha* ]] && echo "no changes" || echo "images=true" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments