Skip to content

Commit 9533b7b

Browse files
authored
Update alpine.yml
1 parent b366a94 commit 9533b7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/alpine.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
arm64) : "arm64v8/alpine:${{ matrix.version }}" ;;
4444
esac
4545
base="$_"
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|.[]')
46+
docker pull -q --platform=linux/${{ matrix.arch }} $base &>/dev/null
47+
docker pull -q --platform=linux/${{ matrix.arch }} $repo &>/dev/null
48+
basesha=$(docker image inspect --platform=linux/${{ matrix.arch }} $base | jq --raw-output '.[0].RootFS.Layers|.[]')
49+
reposha=$(docker image inspect --platform=linux/${{ matrix.arch }} $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

0 commit comments

Comments
 (0)