Skip to content
Snippets Groups Projects
Commit f70f09d6 authored by Johann Ruiz's avatar Johann Ruiz
Browse files

Update .gitlab-ci.yml file

parent feb75435
No related branches found
No related tags found
No related merge requests found
Pipeline #10647 passed
......@@ -23,6 +23,6 @@ deploy-job: # This job runs in the deploy stage.
- echo "Deploying application..."
- echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
- docker build -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE:latest
- docker rmi $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE
- docker rmi ${CI_REGISTRY_IMAGE}:latest
- echo "Application successfully deployed."
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment