Skip to content
Snippets Groups Projects

Tut01

Closed Yana Kernerman requested to merge s92604/devops-webservice:tut01 into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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
Loading