Skip to content

Commit

Permalink
Add multi-platform build for images pushed to registry (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherwharrop-noaa authored Jun 12, 2024
1 parent 1271086 commit a00fae4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
-
name: Checkout Repository
uses: actions/checkout@v3

-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Build and start containers
run: docker-compose -f docker-compose.yml up --build -d
Expand Down Expand Up @@ -65,6 +67,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: ./frontend
platforms: linux/amd64,linux/arm64
file: ./frontend/Dockerfile
push: true
tags: noaagsl/slurm-frontend:latest
Expand All @@ -76,6 +79,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: ./master
platforms: linux/amd64,linux/arm64
file: ./master/Dockerfile
push: true
tags: noaagsl/slurm-master:latest
Expand All @@ -87,6 +91,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: ./node
platforms: linux/amd64,linux/arm64
file: ./node/Dockerfile
push: true
tags: noaagsl/slurm-node:latest
Expand Down

0 comments on commit a00fae4

Please sign in to comment.