Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SelimMEZLINI committed Oct 7, 2024
1 parent 7012e4d commit f6c607e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/1_0_build_image_and_push_to_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6c607e

Please sign in to comment.