Skip to content
Snippets Groups Projects
Commit 5a07de57 authored by Yana Kernerman's avatar Yana Kernerman Committed by Yana Kernerman
Browse files

trigger pipeline

parent 63bf78e1
No related branches found
No related tags found
1 merge request!26Tut01
......@@ -49,7 +49,7 @@ job_build_and_publish_image:
script:
- echo "Publishing artifact ..."
- ls -al
- docker build -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker build --file ./Dockerfile --tag "${CI_REGISTRY_IMAGE}:$TAG"
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
after_script:
- docker rmi "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
\ 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