From 738913224541a64c48534af78528d0a2f7399250 Mon Sep 17 00:00:00 2001 From: Espen Hagen <2492641+espenhgn@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:14:27 +0200 Subject: [PATCH] Add ARM builds Fixes #54 --- .github/workflows/container_build.yml | 5 +++-- .github/workflows/container_build_push.yml | 6 +++--- version/version.py | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/container_build.yml b/.github/workflows/container_build.yml index db56b62..cd855a9 100644 --- a/.github/workflows/container_build.yml +++ b/.github/workflows/container_build.yml @@ -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 @@ -73,4 +72,6 @@ jobs: tags: ${{ steps.meta.outputs.tags }} file: ./dockerfiles/container_template/Dockerfile - platforms: linux/amd64 + platforms: + linux/amd64 + linux/arm64 diff --git a/.github/workflows/container_build_push.yml b/.github/workflows/container_build_push.yml index 08d41d1..519acd9 100644 --- a/.github/workflows/container_build_push.yml +++ b/.github/workflows/container_build_push.yml @@ -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 @@ -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 @@ -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 diff --git a/version/version.py b/version/version.py index b49f44b..b022333 100644 --- a/version/version.py +++ b/version/version.py @@ -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 = ""