Update docker-build-push.yml to support arm64

This commit is contained in:
rexeo-asia 2024-10-14 10:26:12 +08:00 committed by GitHub
parent 17f8e49301
commit b9c240b501
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,6 +37,9 @@ jobs:
image: registry:2
ports:
- 5000:5000
strategy:
matrix:
arch: [amd64, arm64]
steps:
- name: Checkout
@ -46,6 +49,7 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
platforms: linux/${{ matrix.arch }}
- name: Get latest versions
run: python3 ./.github/scripts/get_latest_tags.py --repo ${{ inputs.repo }} --version ${{ inputs.version }}