From 9eb7ee64a08dbf842153c14d55d945ce8a4dee3f Mon Sep 17 00:00:00 2001 From: "Leo J." Date: Mon, 26 Feb 2024 13:30:52 +0100 Subject: [PATCH] use dockerhub --- .github/workflows/01-build-images.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/01-build-images.yml b/.github/workflows/01-build-images.yml index c4638224..a6244c20 100644 --- a/.github/workflows/01-build-images.yml +++ b/.github/workflows/01-build-images.yml @@ -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: @@ -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"