Skip to content

Commit

Permalink
Merge pull request #946 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
PR - Updated docker-multiarch build workflow
  • Loading branch information
TrekkieCoder authored Jan 25, 2025
2 parents 999da43 + 022f87c commit 324fa9b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/docker-multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,20 @@ jobs:

# Setup hardware emulator using QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

# Setup Docker Buildx for multi-arch images
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build Check
if: |
github.repository != 'loxilb-io/loxilb'
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64, linux/arm64
#platforms: linux/amd64, linux/arm64
platforms: linux/amd64
push: false
tags: ghcr.io/loxilb-io/loxilb:latest

Expand All @@ -56,7 +57,8 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64, linux/arm64
#platforms: linux/amd64, linux/arm64
platforms: linux/amd64
push: true
tags: ghcr.io/loxilb-io/loxilb:latest

Expand All @@ -67,7 +69,8 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64, linux/arm64
#platforms: linux/amd64, linux/arm64
platforms: linux/amd64
push: true
build-args: TAG=${{ github.event.inputs.tagName }}
tags: ghcr.io/loxilb-io/loxilb:${{ github.event.inputs.tagName }}
Expand Down

0 comments on commit 324fa9b

Please sign in to comment.