Update Docker image name and tags for Fit2Cloud registry

bug/invalid-f2c-ns-name
John Niang 2025-09-16 23:59:04 +08:00
parent 8e95f07c49
commit 35504b4e5a
No known key found for this signature in database
GPG Key ID: D7363C015BBCAA59
1 changed files with 2 additions and 2 deletions

View File

@ -242,11 +242,11 @@ tasks.register('publishToDockerHub', BootBuildImage) {
} }
tasks.register('publishToFit2Cloud', BootBuildImage) { tasks.register('publishToFit2Cloud', BootBuildImage) {
imageName = "registry.fit2cloud.com/${name}:${tagName}" imageName = "registry.fit2cloud.com/halo/${name}:${tagName}"
description = 'Build and publish the Docker image to Fit2Cloud Container Registry.' description = 'Build and publish the Docker image to Fit2Cloud Container Registry.'
publish = StringUtils.hasText(System.getenv('F2C_TOKEN')) publish = StringUtils.hasText(System.getenv('F2C_TOKEN'))
if (!isRelease) { if (!isRelease) {
tags = ["registry.fit2cloud.com/${name}:main".toString()] tags = ["registry.fit2cloud.com/halo/${name}:main".toString()]
} }
docker { docker {
publishRegistry { publishRegistry {