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://}"
|
HOSTNAME="${SERVER_URL#https://}"
|
||||||
echo "Hostname: HOSTNAME"
|
echo "Hostname: HOSTNAME"
|
||||||
echo "DOCKER_REGISTRY_HOST=$HOSTNAME" >> "$GITHUB_ENV"
|
echo "DOCKER_REGISTRY_HOST=$HOSTNAME" >> "$GITHUB_ENV"
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Login to Forgejo Registry
|
- name: Login to Forgejo Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
|
@ -54,6 +56,7 @@ jobs:
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
context: ./images/${{ matrix.images.name }}/${{ matrix.images.tag }}
|
context: ./images/${{ matrix.images.name }}/${{ matrix.images.tag }}
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.DOCKER_REGISTRY_HOST }}/${{ github.repository_owner }}/${{ matrix.images.name }}:${{ matrix.images.tag }}
|
tags: ${{ env.DOCKER_REGISTRY_HOST }}/${{ github.repository_owner }}/${{ matrix.images.name }}:${{ matrix.images.tag }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue