mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 00:48:53 +01:00
Add ARM build in GitHub Actions
- Hint: Tried to use the plattform parameter of the build-push-action, however this failed with an error in the Jobs. Therefore, I used a matrix with the platforms. - The ARM build takes a long time.
This commit is contained in:
@@ -12,12 +12,20 @@ jobs:
|
||||
- apache
|
||||
- fpm-alpine
|
||||
- fpm
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
steps:
|
||||
- name: 'Check out the repo'
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: 'Set up QEMU'
|
||||
uses: docker/setup-qemu-action@v2
|
||||
with:
|
||||
platforms: 'arm64,arm'
|
||||
|
||||
- name: 'Set up Docker Buildx'
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: 'Build Container images'
|
||||
uses: docker/build-push-action@v2
|
||||
@@ -26,6 +34,7 @@ jobs:
|
||||
push: false
|
||||
load: true
|
||||
tags: docker.io/martialblog/limesurvey:6-${{ matrix.context }}
|
||||
platforms: ${{ matrix.platform }}
|
||||
|
||||
- name: 'Run Structure tests'
|
||||
uses: plexsystems/container-structure-test-action@v0.2.0
|
||||
|
||||
Reference in New Issue
Block a user