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"