From 90b2d3d51bf889b35282ed3b7808de3fe13388a9 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Mon, 25 Mar 2019 12:13:53 +0100 Subject: [PATCH] Fix the registry image path --- utils/publish/production.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/publish/production.sh b/utils/publish/production.sh index 09e0f93..8c8d48e 100755 --- a/utils/publish/production.sh +++ b/utils/publish/production.sh @@ -55,10 +55,10 @@ REVISION=$MINOR.$REVISION_NUMBER # Always build with all tags, there's a single build anyway. docker build \ - -t $CI_REGISTRY_IMAGE:latest \ - -t $CI_REGISTRY_IMAGE:$MAJOR \ - -t $CI_REGISTRY_IMAGE:$MINOR \ - -t $CI_REGISTRY_IMAGE:$REVISION . + -t index.docker.io/$CI_REGISTRY_IMAGE:latest \ + -t index.docker.io/$CI_REGISTRY_IMAGE:$MAJOR \ + -t index.docker.io/$CI_REGISTRY_IMAGE:$MINOR \ + -t index.docker.io/$CI_REGISTRY_IMAGE:$REVISION . # Login with Docker Registry. echo $CI_REGISTRY_BOT_PASSWORD | docker login -u $CI_REGISTRY_BOT_USERNAME docker.io --password-stdin