Skip to content

Commit

Permalink
add multiplatform builds again
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebSLane committed Nov 4, 2024
1 parent 5360020 commit 29e56da
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# cache-from: type=registry,ref=${{ env.DOCKER_TEST_NAME }}-frontend:buildcache
cache-to: type=registry,ref=${{ env.DOCKER_TEST_NAME }}-proxy:buildcache,mode=max
cache-to: type=registry,ref=${{ env.DOCKER_TEST_NAME }}-proxy:buildcache,mode=max

build-and-push-test-image-fhir:
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -335,6 +335,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -378,6 +379,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: ./frontend
file: ./frontend/Dockerfile.prod
push: true
Expand All @@ -386,7 +388,6 @@ jobs:
cache-from: type=registry,ref=${{ env.DOCKER_TEST_NAME }}-frontend:buildcache
cache-to: type=registry,ref=${{ env.DOCKER_TEST_NAME }}-frontend:buildcache,mode=max


build-and-push-image-proxy:
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -421,13 +422,14 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: ./nginx-proxy
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.DOCKER_TEST_NAME }}-proxy:buildcache
cache-to: type=registry,ref=${{ env.DOCKER_TEST_NAME }}-proxy:buildcache,mode=max
cache-to: type=registry,ref=${{ env.DOCKER_TEST_NAME }}-proxy:buildcache,mode=max

build-and-push-image-fhir:
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -462,6 +464,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: ./fhir
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 29e56da

Please sign in to comment.