Skip to content

Commit

Permalink
feat: build for arm and x86 at the same time
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-qvest-seidl committed Aug 2, 2024
1 parent c3c04e9 commit cd25954
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-test-image.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Build Test Image
on:
workflow_dispatch: {}
push:
branches:
- master
Expand All @@ -9,7 +10,7 @@ on:

jobs:
build:
# runs-on: ubuntu-latest
# runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
matrix:
Expand Down Expand Up @@ -37,9 +38,10 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
tags: markusqvestseidl/keycloak-dev:${{ matrix.keycloak-version }}
file: test/Dockerfile
build-args: |
Expand Down

0 comments on commit cd25954

Please sign in to comment.