Skip to content

Commit

Permalink
👷 Enable multiplatform builds for the CSMS; support demos on mac (EVe…
Browse files Browse the repository at this point in the history
…rest#86)

* 👷 Enable multiplatform builds; support demos on mac

Before this change, demos on recent macs would not run
since the images only supported the x86 instruction set
and the M1 chips use arm.

Signed-off-by: Shankari <k.shankari@ee.doe.gov>

* Fix build not working because `load: true`

This uses the recommendations at
docker/build-push-action#1157

Signed-off-by: Shankari <k.shankari@ee.doe.gov>

* Remove the `v` prefix

This appears to appears to match expected tag patterns and
confuses the validity checks in the workflow

Signed-off-by: Shankari <k.shankari@ee.doe.gov>

---------

Signed-off-by: Shankari <k.shankari@ee.doe.gov>
  • Loading branch information
shankari authored Nov 15, 2024
1 parent 029e525 commit 3b438bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAG=0.0.17
TAG=0.0.18

EVEREST_MANAGER_CPUS='1.0'
EVEREST_MANAGER_MEMORY='1024mb'
2 changes: 1 addition & 1 deletion .github/workflows/build_and_push_csms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ jobs:
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
load: true
context: ${{ matrix.context }}
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 3b438bf

Please sign in to comment.