Commit 6709663b authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

before_script in main_build_and_push

parent 760332b4
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -563,6 +563,14 @@ cvs_vault:
  <<: *main_dnd

main_build_and_push:
  stage: main_build_and_push
  variables:
    CI_REGISTRY_USER: $CI_REGISTRY_USER
    CI_REGISTRY: $CI_REGISTRY
    CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY
  before_script:
    - echo "--- Login to Docker registry ---"
      docker login --username $CI_REGISTRY_USER --password $CAPIF_DOCKER_REGISTRY $CI_REGISTRY
  needs:
    - cvs_nginx
    - cvs_register
@@ -577,7 +585,6 @@ main_build_and_push:
    - cvs_ocf_routing_info_api
    - cvs_ocf_security_api
    - cvs_vault
  stage: main_build_and_push
  script:
   - export TMP_PWD=$PWD
   - echo "TMP_PWD=$TMP_PWD"