File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 build :
2222 strategy :
2323 matrix :
24- platform : [ "linux/amd64", "linux/arm64" ]
24+ platform : [ "linux/amd64" ]
2525 # Use GitHub-hosted runner for amd64 and the arm64 partner runner for arm64
2626 runs-on : ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
2727 permissions :
@@ -81,17 +81,15 @@ jobs:
8181 # Convert IMAGE_NAME to lowercase
8282 LOWER_IMAGE_NAME=$(echo "${IMAGE_NAME}" | tr '[:upper:]' '[:lower:]')
8383 docker manifest create $REGISTRY/${LOWER_IMAGE_NAME}:latest \
84- $REGISTRY/${LOWER_IMAGE_NAME}:latest-amd64 \
85- $REGISTRY/${LOWER_IMAGE_NAME}:latest-arm64
84+ $REGISTRY/${LOWER_IMAGE_NAME}:latest-amd64
8685 docker manifest push $REGISTRY/${LOWER_IMAGE_NAME}:latest
8786
8887 - name : Create multi-arch manifest for version tag
8988 run : |
9089 # Convert IMAGE_NAME to lowercase
9190 LOWER_IMAGE_NAME=$(echo "${IMAGE_NAME}" | tr '[:upper:]' '[:lower:]')
9291 docker manifest create $REGISTRY/${LOWER_IMAGE_NAME}:${{ inputs.version }} \
93- $REGISTRY/${LOWER_IMAGE_NAME}:${{ inputs.version }}-amd64 \
94- $REGISTRY/${LOWER_IMAGE_NAME}:${{ inputs.version }}-arm64
92+ $REGISTRY/${LOWER_IMAGE_NAME}:${{ inputs.version }}-amd64
9593 docker manifest push $REGISTRY/${LOWER_IMAGE_NAME}:${{ inputs.version }}
9694
9795 release :
You can’t perform that action at this time.
0 commit comments