Skip to content

Commit

Permalink
use dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
leiicamundi committed Feb 26, 2024
1 parent d07a1c2 commit 9eb7ee6
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/01-build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ on:
push:

env:
SHOULD_WE_PUSH: false

# for the build and test phases, we use local ghcr.io registry, when the image is qualitified, it will be published to the
# docker.io registry in the publish-image workflow
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
# this workflow will only use current as tag container tag reference, dedicated workflow exists for releasing versionned image
SHOULD_WE_PUSH: true
REGISTRY: docker.io
IMAGE_NAME: camunda/keycloak

jobs:
docker:
Expand All @@ -35,10 +34,9 @@ jobs:
uses: camunda/infra-global-github-actions/build-docker-image@main
with:
registry_host: ${{ env.REGISTRY }}
registry_username: ${{ github.actor }}
registry_password: ${{ secrets.GITHUB_TOKEN }}
registry_username: ${{ secrets.DOCKERHUB_USERNAME }}
registry_password: ${{ secrets.DOCKERHUB_PASSWORD }}
image_name: camunda/keycloak-aws
#extra_tags: # TODO: add commit version
#build_args: # TODO: integrate commit infos etc
build_context: .
# TODO: modify this one to integrate "platforms"
Expand Down

0 comments on commit 9eb7ee6

Please sign in to comment.