Skip to content
Snippets Groups Projects
Commit cf54ddec authored by Luigi Sbailo's avatar Luigi Sbailo
Browse files

Update .gitlab-ci.yml file

parent 04e8cd49
No related branches found
No related tags found
No related merge requests found
Pipeline #117183 failed
...@@ -15,7 +15,8 @@ build: ...@@ -15,7 +15,8 @@ build:
before_script: before_script:
- echo "Building the aitoolkit-gui image" - echo "Building the aitoolkit-gui image"
script: script:
- docker login -u ai_toolkit -p ${AI_TOOLKIT_TOKEN} ${APP_REGISTRY} # - docker login -u ai_toolkit -p ${AI_TOOLKIT_TOKEN} ${APP_REGISTRY}
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN
- docker pull ${CI_REGISTRY_IMAGE}:latest - docker pull ${CI_REGISTRY_IMAGE}:latest
- docker build --cache-from ${CI_REGISTRY_IMAGE}:latest -t ${CI_REGISTRY_IMAGE}:latest -t ${APP_REGISTRY}:gui -t ${APP_REGISTRY}:gui${CI_COMMIT_SHORT_SHA} . - docker build --cache-from ${CI_REGISTRY_IMAGE}:latest -t ${CI_REGISTRY_IMAGE}:latest -t ${APP_REGISTRY}:gui -t ${APP_REGISTRY}:gui${CI_COMMIT_SHORT_SHA} .
- docker push ${CI_REGISTRY_IMAGE}:latest - docker push ${CI_REGISTRY_IMAGE}:latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment