From 93cc39cbf59b047606a915e4a50e96aaf26263d8 Mon Sep 17 00:00:00 2001 From: "Leo J." Date: Mon, 26 Feb 2024 13:42:29 +0100 Subject: [PATCH] push image and fix wkflw --- .github/workflows/01-build-images.yml | 2 +- .github/workflows/30-test-images.yml | 2 -- .github/workflows/90-publish-images.yml | 6 ++---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/01-build-images.yml b/.github/workflows/01-build-images.yml index a6244c20..3bfc195f 100644 --- a/.github/workflows/01-build-images.yml +++ b/.github/workflows/01-build-images.yml @@ -9,7 +9,6 @@ on: env: # 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 @@ -36,6 +35,7 @@ jobs: registry_host: ${{ env.REGISTRY }} registry_username: ${{ secrets.DOCKERHUB_USERNAME }} registry_password: ${{ secrets.DOCKERHUB_PASSWORD }} + force_push: true image_name: camunda/keycloak-aws #build_args: # TODO: integrate commit infos etc build_context: . diff --git a/.github/workflows/30-test-images.yml b/.github/workflows/30-test-images.yml index e218687f..c9352bfd 100644 --- a/.github/workflows/30-test-images.yml +++ b/.github/workflows/30-test-images.yml @@ -4,8 +4,6 @@ name: test-images on: - push: - workflow_run: workflows: ["build-images"] types: diff --git a/.github/workflows/90-publish-images.yml b/.github/workflows/90-publish-images.yml index af111322..5c3f8669 100644 --- a/.github/workflows/90-publish-images.yml +++ b/.github/workflows/90-publish-images.yml @@ -1,14 +1,12 @@ --- name: publish-images on: - push: - branches: - - main - workflow_run: workflows: ["test-images"] types: - completed + branches: + - main jobs: publish-image: