From f6c607e1efe0271b03e926bc3d9d1e63a79644e5 Mon Sep 17 00:00:00 2001 From: SelimMEZLINI Date: Mon, 7 Oct 2024 11:08:21 +0100 Subject: [PATCH] ci --- .../1_0_build_image_and_push_to_manifest.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/1_0_build_image_and_push_to_manifest.yml b/.github/workflows/1_0_build_image_and_push_to_manifest.yml index 4a5554549..61e010f21 100755 --- a/.github/workflows/1_0_build_image_and_push_to_manifest.yml +++ b/.github/workflows/1_0_build_image_and_push_to_manifest.yml @@ -95,18 +95,8 @@ jobs: - name: Push image to gitlab registry run: | echo ${{ secrets.GITLAB_CR_PAT }} | docker login registry.gitlab.com -u ${{ secrets.GITLAB_CR_USER }} --password-stdin - if [ "$DEFAULT_MOULE" != "ignore" ] ;then - echo "docker push $GITLAB_IMAGE_NAME" docker push $GITLAB_IMAGE_NAME - fi - - if [ "$SECOND_MODULE" != "ignore" ] && [ "$SECOND_MODULE" != "null" ] && [ "$SECOND_MODULE" != "" ];then - docker push $GITLAB_IMAGE_NAME_SECOND_MODULE - fi - if [ "$THIRD_MODULE" != "ignore" ] && [ "$THIRD_MODULE" != "null" ] && [ "$THIRD_MODULE" != "" ];then - docker push $GITLAB_IMAGE_NAME_THIRD_MODULE - fi - + push_to_manifest: runs-on: [self-hosted, linux, k8s] name: push to manifest