Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
Jana Kh A O Almuqaisib committed Aug 12, 2024
1 parent e1c54a9 commit cf88426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ build_rest_image:
script:
- echo "{\"auths\":{\"$CMSCRAB_REGISTRY_URL\":{\"auth\":\"$(echo -n $CMSCRAB_REGISTRY_USER:$CMSCRAB_REGISTRY_PASSWORD | base64)\"}}}"
- docker login -u $CMSCRAB_REGISTRY_USER -p $CMSCRAB_REGISTRY_PASSWORD $CMSCRAB_REGISTRY_URL
- docker context create mycontext --use --name mybuilder --use --bootstrap
- docker context create mycontext
- docker buildx create mycontext --use --name mybuilder --use --bootstrap
- docker buildx build --push -f "${CI_PROJECT_DIR}/cicd/crabserver_pypi/Dockerfile" --cache-to=type=registry,ref="registry.cern.ch/cmscrab/crabserver:pypi-test12-cache",image-manifest=true,mode=max --cache-from=type=registry,ref="registry.cern.ch/cmscrab/crabserver:pypi-test12-cache" -t "registry.cern.ch/cmscrab/crabserver:${IMAGE_TAG}" .
# - docker push "registry.cern.ch/cmscrab/crabserver:${IMAGE_TAG}"
cache:
Expand Down

0 comments on commit cf88426

Please sign in to comment.