Skip to content
Snippets Groups Projects
Commit 158f205a authored by Andrea Ceccanti's avatar Andrea Ceccanti
Browse files

ci: towards push to dockerhub

parent 08c398a9
No related branches found
No related tags found
No related merge requests found
Pipeline #13951 passed
......@@ -4,6 +4,7 @@ stages:
- build
- test
- docker-build
- docker-push
- deploy
build4c:
......@@ -64,10 +65,12 @@ docker-build:
- docker push ${CI_REGISTRY_IMAGE}/ngx-voms:${CI_COMMIT_SHA:0:8}
dockerhub-push:
stage: docker-build
stage: docker-push
image: docker:latest
services:
- docker:dind
dependencies:
- docker-build
script:
- docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker pull ${CI_REGISTRY_IMAGE}/ngx-voms:${CI_COMMIT_SHA:0:8}
......
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