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

Update .gitlab-ci.yml file

parent b3cfef25
No related branches found
No related tags found
No related merge requests found
Pipeline #10646 failed
......@@ -22,7 +22,7 @@ deploy-job: # This job runs in the deploy stage.
script:
- echo "Deploying application..."
- echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
- docker build -t $CI_REGISTRY_IMAGE:latest .
- docker build -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE:latest
- 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