Skip to content
Snippets Groups Projects
Commit 74d714b6 authored by Sujen Shah's avatar Sujen Shah
Browse files

Add docker login step

parent 60512beb
No related branches found
No related tags found
No related merge requests found
Pipeline #1036 passed with stage
in 1 minute and 17 seconds
......@@ -3,6 +3,9 @@
build-esa:
stage: build
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY/$CI_PROJECT_PATH:latest" .
- docker push "$CI_REGISTRY/$CI_PROJECT_PATH:latest"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment