Commit 4d9c6d01 authored by Pietro Saccardi's avatar Pietro Saccardi

Publish image as organization

parent 37493ec6
Pipeline #857 passed with stages
in 17 minutes and 14 seconds
......@@ -132,7 +132,6 @@ publish:docker-nightly:
stage: publish
script:
- export FROM_IMAGE="${CI_REGISTRY}/${CI_PROJECT_PATH}/${FROM_IMAGE_NAME}"
- export TO_IMAGE="${HUB_USER}/${TO_IMAGE_NAME}"
- docker pull "${FROM_IMAGE}"
- docker logout
- docker login -u "${HUB_USER}" -p "${HUB_ACCESS_TOKEN}"
......@@ -140,6 +139,6 @@ publish:docker-nightly:
- docker push "${TO_IMAGE}"
variables:
FROM_IMAGE_NAME: kegtap:latest
TO_IMAGE_NAME: kegtap:nightly
TO_IMAGE: mittelab/kegtap:nightly
only:
- master
Markdown is supported
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