Skip to content

Commit

Permalink
fix(dockerfile): legacy build
Browse files Browse the repository at this point in the history
  • Loading branch information
ztelliot committed Jul 1, 2022
1 parent ce2618e commit c95af22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,18 +222,20 @@ jobs:
context: .
push: true
build-args: |
keycloak_version=${{ env.KEYCLOAK_IMAGE }}
keycloak_image=${{ env.KEYCLOAK_IMAGE }}
keycloak_version=${{ env.KEYCLOAK_VERSION }}
tags: |
ztelliot/keycloak-justauth:${{ env.KEYCLOAK_IMAGE }}
ghcr.io/ztelliot/keycloak-justauth:${{ env.KEYCLOAK_IMAGE }}
ztelliot/keycloak-justauth:${{ env.KEYCLOAK_VERSION }}
ghcr.io/ztelliot/keycloak-justauth:${{ env.KEYCLOAK_VERSION }}
- name: Build and Push Docker images as Latest
uses: docker/build-push-action@v2
if: ${{ !github.event.inputs.prerelease }}
with:
context: .
push: true
build-args: |
keycloak_version=${{ env.KEYCLOAK_IMAGE }}
keycloak_image=${{ env.KEYCLOAK_IMAGE }}
keycloak_version=${{ env.KEYCLOAK_VERSION }}
tags: |
ztelliot/keycloak-justauth:latest
ghcr.io/ztelliot/keycloak-justauth:latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG keycloak_version=16.1.1
ARG keycloak_image=16.1.1

FROM quay.io/keycloak/keycloak:${keycloak_version}
FROM quay.io/keycloak/keycloak:${keycloak_image}

ARG keycloak_version=16.1.1

Expand Down

0 comments on commit c95af22

Please sign in to comment.