mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-10-22 17:11:17 +00:00
Also build arm images (#58)
Based on https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/ https://github.com/docker/build-push-action and https://docs.docker.com/engine/reference/commandline/buildx_build/#platform
This commit is contained in:
1 parent
ea3947df9f
commit
b3f0c6e222
2 files changed
+2
-2
No files matched your search
@@ -9,7 +9,7 @@ on:
|
||||
|
||||
env:
|
||||
DOCKER_NAMESPACE: gnuxie
|
||||
PLATFORMS: linux/amd64
|
||||
PLATFORMS: linux/amd64,linux/arm64
|
||||
# Only push if this is main, otherwise we just want to build
|
||||
PUSH: ${{ github.ref == 'refs/heads/main' }}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
|
||||
env:
|
||||
DOCKER_NAMESPACE: gnuxie
|
||||
PLATFORMS: linux/amd64
|
||||
PLATFORMS: linux/amd64,linux/arm64
|
||||
|
||||
jobs:
|
||||
docker-release:
|
||||
|
||||
Reference in new issue
Block a user