Skip to content

Commit 29c7b82

Browse files
committed
Fix registry in promote step
Signed-off-by: Federico Busetti <[email protected]>
1 parent dcd1e82 commit 29c7b82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab_ci/_templates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ variables:
6565
# Transform in unix timestamp
6666
- export UNIX_TIMESTAMP=$(date -d "$CLEAN_DATETIME" -D "%Y-%m-%dT%H:%M:%S" +%s)
6767
- echo "Unix timestamp - $UNIX_TIMESTAMP"
68-
- echo "Tagging $DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$UNIX_TIMESTAMP from $DOCKER_IMAGE_FULL_TAG"
68+
- echo "Tagging $CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$UNIX_TIMESTAMP from $DOCKER_IMAGE_FULL_TAG"
6969
- docker buildx imagetools create
7070
--annotation index:org.opencontainers.image.version=$CI_COMMIT_SHORT_SHA
7171
--annotation index:org.opencontainers.image.revision=$CI_COMMIT_SHA
7272
--annotation index:org.opencontainers.image.source=$CI_PROJECT_URL
7373
--annotation index:org.opencontainers.image.created=$CI_JOB_STARTED_AT
74-
--tag $DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$UNIX_TIMESTAMP
74+
--tag $CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME:$PROMOTED_ENVIRONMENT-$UNIX_TIMESTAMP
7575
$DOCKER_IMAGE_FULL_TAG
7676

7777
.python-typing:

0 commit comments

Comments
 (0)