Skip to content
Snippets Groups Projects
Unverified Commit c9d5fd9b authored by Tom Herbers's avatar Tom Herbers
Browse files

workflows: build-container: build images for amd64 and arm64

parent 0ba3f50f
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,10 @@ jobs: ...@@ -21,6 +21,10 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the Container registry - name: Log in to the Container registry
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb
if: ${{ github.repository_owner == 'freifunk-gluon' && github.event_name == 'push' }} if: ${{ github.repository_owner == 'freifunk-gluon' && github.event_name == 'push' }}
...@@ -38,5 +42,6 @@ jobs: ...@@ -38,5 +42,6 @@ jobs:
with: with:
context: ./contrib/docker context: ./contrib/docker
push: ${{ github.repository_owner == 'freifunk-gluon' && github.event_name == 'push' }} push: ${{ github.repository_owner == 'freifunk-gluon' && github.event_name == 'push' }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment