Skip to content
Snippets Groups Projects
Commit 83575b86 authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

move docker login

parent 0821d93e
No related branches found
No related tags found
No related merge requests found
Pipeline #11500 failed with stages
in 18 seconds
......@@ -12,7 +12,6 @@ variables:
DOCKER_TLS_CERTDIR: "/certs"
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- pip install setuptools
build_package:
......@@ -39,6 +38,7 @@ build_and_push_docker_image:
stage: publish
image: docker:26.0.1-dind
script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker build -t $DOCKER_IMAGE:$CI_COMMIT_SHORT_SHA .
- docker push $DOCKER_IMAGE:$CI_COMMIT_SHORT_SHA
only:
......
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