Skip to content

Commit

Permalink
Update file .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jana Kh A O Almuqaisib authored and root committed Aug 12, 2024
1 parent f25ec01 commit e898909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ build_monit_image:
- docker:24.0.5-dind
script:
- echo "{\"auths\":{\"$CMSCRAB_REGISTRY_URL\":{\"auth\":\"$(echo -n $CMSCRAB_REGISTRY_USER:$CMSCRAB_REGISTRY_PASSWORD | base64)\"}}}"
- docker build -f "${CI_PROJECT_DIR}/cicd/monit_pypi/Dockerfile" -t "registry.cern.ch/cmscrab/crabtaskworker:${IMAGE_TAG}.monit" --build-arg="BASE_TAG=${IMAGE_TAG}" .
- docker build -f "${CI_PROJECT_DIR}/cicd/monit_pypi/Dockerfile" -t "registry.cern.ch/cmscrab/crabtaskworker:${IMAGE_TAG}.jalmuqai.monit" --build-arg="BASE_TAG=${IMAGE_TAG}" .
- docker login -u $CMSCRAB_REGISTRY_USER -p $CMSCRAB_REGISTRY_PASSWORD $CMSCRAB_REGISTRY_URL
- docker push "registry.cern.ch/cmscrab/crabtaskworker:${IMAGE_TAG}.monit"
- docker push "registry.cern.ch/cmscrab/crabtaskworker:${IMAGE_TAG}.jalmuqai.monit"
cache:
- key: $CI_PIPELINE_ID
paths:
Expand Down

0 comments on commit e898909

Please sign in to comment.