File tree Expand file tree Collapse file tree 2 files changed +6
-402
lines changed
Expand file tree Collapse file tree 2 files changed +6
-402
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,14 @@ jobs:
6060 run : |
6161 set -ex
6262 FIRST_TAG=$(echo "${{ inputs.tags }}" | awk '{print $1}')
63+ PLATFORM="amd64"
64+ if [ "${{ matrix.runner }}" = "ubuntu-22.04-arm" ]; then
65+ PLATFORM="arm64"
66+ fi
6367 make push \
6468 "PROGRESS=plain" \
6569 "BUILDER=${{ steps.buildx.outputs.name }}" \
66- "TARGET=${{ inputs.image }}-ci " \
70+ "TARGET=${{ inputs.image }}-$PLATFORM " \
6771 "REPOSITORY=${{ inputs.repository }}" \
6872 "TAGS=${FIRST_TAG}" \
6973 "CONTEXTS=${{ inputs.contexts }}"
@@ -101,3 +105,4 @@ jobs:
101105 DIGEST=$(docker buildx imagetools inspect "$IMAGE" | grep Digest | awk '{print $2}')
102106 echo "digest=-Pisle.${{ inputs.image }}.digest=${{ inputs.repository }}/${{ inputs.image }}@$DIGEST" >> $GITHUB_OUTPUT
103107 echo "context=docker-image://${{ inputs.repository }}/${{ inputs.image }}@$DIGEST" >> $GITHUB_OUTPUT
108+
You can’t perform that action at this time.
0 commit comments