Skip to content

Commit

Permalink
Extend and adjust build for self-hosted runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-qvest-seidl committed Jul 23, 2024
1 parent 3f6b75b commit c4f3425
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build-test-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
strategy:
matrix:
keycloak-version:
- '21.0.1'
- '20.0.5'
- '19.0.2'
- '25.0.2'
- '24.0.5'
- '23.0.7'
- '22.0.5'
- '21.1.2'
fail-fast: false
concurrency:
group: docker-build-${{ matrix.keycloak-version }}
Expand All @@ -27,17 +29,17 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: mrparkers/keycloak-dev:${{ matrix.keycloak-version }}
push: false
tags: keycloak-dev:${{ matrix.keycloak-version }}
file: test/Dockerfile
build-args: |
KEYCLOAK_VERSION=${{ matrix.keycloak-version }}
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ jobs:
strategy:
matrix:
keycloak-version:
- '21.0.1'
- '20.0.5'
- '19.0.2'
- '25.0.2'
- '24.0.5'
- '23.0.7'
- '22.0.5'
- '21.1.2'
fail-fast: false
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ matrix.keycloak-version }}
Expand Down

0 comments on commit c4f3425

Please sign in to comment.