Skip to content

Commit

Permalink
Multi platform build for GKE
Browse files Browse the repository at this point in the history
  • Loading branch information
checco committed Jul 9, 2024
1 parent 0f603de commit 4b4368e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,47 +51,47 @@ jobs:
uses: docker/build-push-action@v2
with:
context: microservices/rental-command
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64,linux/arm64, linux/arm64/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/axoniq/bike-rental-command:latest

- name: Build and push Rental Payment service
uses: docker/build-push-action@v2
with:
context: microservices/rental-payment
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64,linux/arm64, linux/arm64/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/axoniq/bike-rental-rental-payment:latest

- name: Build and push Payment service
uses: docker/build-push-action@v2
with:
context: payment
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64,linux/arm64, linux/arm64/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/axoniq/bike-rental-payment:latest

- name: Build and push Query service
uses: docker/build-push-action@v2
with:
context: microservices/rental-query
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64,linux/arm64, linux/arm64/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/axoniq/bike-rental-query:latest

- name: Build and push UI service
uses: docker/build-push-action@v2
with:
context: microservices/rental-ui
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64,linux/arm64, linux/arm64/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/axoniq/bike-rental-ui:latest

- name: Build and push complete Rental service
uses: docker/build-push-action@v2
with:
context: rental
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64,linux/arm64, linux/arm64/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/axoniq/bike-rental:latest

0 comments on commit 4b4368e

Please sign in to comment.