Skip to content
Snippets Groups Projects
Commit b3cf547f authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Fix incorrect path to image repository on Docker Hub

parent c013fc4e
No related branches found
No related tags found
1 merge request!226Fix incorrect path to image repository on Docker Hub
Pipeline #102129 passed
......@@ -342,10 +342,10 @@ deploy_docker:
# Replace characters that are now allowed in a tag string with a dash
- LINC_TAG=${LINC_VERSION//[^[:alnum:]_.-]/-}
- docker pull $INTEGRATION_IMAGE
- docker tag $INTEGRATION_IMAGE $CI_PROJECT_PATH:$LINC_TAG
- docker tag $INTEGRATION_IMAGE $CI_PROJECT_PATH:latest
- docker push $CI_PROJECT_PATH:$LINC_TAG
- docker push $CI_PROJECT_PATH:latest
- docker tag $INTEGRATION_IMAGE astronrd/linc:$LINC_TAG
- docker tag $INTEGRATION_IMAGE astronrd/linc:latest
- docker push astronrd/linc:$LINC_TAG
- docker push astronrd/linc:latest
rules:
# Run on the default branch or on a release branch
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
......@@ -358,8 +358,8 @@ deploy_docker_tag_stable:
when: manual
script:
- docker pull $INTEGRATION_IMAGE
- docker tag $INTEGRATION_IMAGE $CI_PROJECT_PATH:stable
- docker push $CI_PROJECT_PATH:stable
- docker tag $INTEGRATION_IMAGE astronrd/linc:stable
- docker push astronrd/linc:stable
### Stage: finalize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment