feat: enable arm64 platform
This commit is contained in:
parent
30accc0e29
commit
65b367f185
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,8 @@ jobs:
|
|||
HOSTNAME="${SERVER_URL#https://}"
|
||||
echo "Hostname: HOSTNAME"
|
||||
echo "DOCKER_REGISTRY_HOST=$HOSTNAME" >> "$GITHUB_ENV"
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Forgejo Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
@ -54,6 +56,7 @@ jobs:
|
|||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
context: ./images/${{ matrix.images.name }}/${{ matrix.images.tag }}
|
||||
push: true
|
||||
tags: ${{ env.DOCKER_REGISTRY_HOST }}/${{ github.repository_owner }}/${{ matrix.images.name }}:${{ matrix.images.tag }}
|
||||
|
|
Loading…
Add table
Reference in a new issue