Skip to content

Commit

Permalink
Add ARM builds
Browse files Browse the repository at this point in the history
Fixes #54
  • Loading branch information
espenhgn committed Oct 8, 2024
1 parent 7f56f9f commit 7389132
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/container_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
type=pep440,pattern={{version}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up QEMU
Expand Down Expand Up @@ -73,4 +72,6 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
file:
./dockerfiles/container_template/Dockerfile
platforms: linux/amd64
platforms:
linux/amd64
linux/arm64
6 changes: 3 additions & 3 deletions .github/workflows/container_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
type=pep440,pattern={{version}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up QEMU
Expand Down Expand Up @@ -70,7 +69,9 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
file:
./dockerfiles/container_template/Dockerfile
platforms: linux/amd64
platforms:
linux/amd64
linux/arm64

build-apptainer-container:
needs: docker
Expand Down Expand Up @@ -99,7 +100,6 @@ jobs:
type=pep440,pattern={{version}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Apptainer container
Expand Down
2 changes: 1 addition & 1 deletion version/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
_MINOR = "1"
# On main and in a nightly release the patch should be one ahead of the last
# released build.
_PATCH = "0"
_PATCH = "1"
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
# https://semver.org/#is-v123-a-semantic-version for the semantics.
_SUFFIX = ""
Expand Down

0 comments on commit 7389132

Please sign in to comment.