Update GitHub Container Registry namespace for Docker image publishing

chore/correct-ghcr-ns-nae
John Niang 2025-09-18 23:23:27 +08:00
parent 5633446434
commit f1a2669604
No known key found for this signature in database
GPG Key ID: D7363C015BBCAA59
1 changed files with 2 additions and 2 deletions

View File

@ -208,10 +208,10 @@ if (!isRelease) {
tasks.register('publishToGhcr', BootBuildImage) {
group = 'publishing'
description = 'Build and publish the Docker image to GitHub Container Registry.'
imageName = "ghcr.io/halo/${name}:${tagName}"
imageName = "ghcr.io/halo-dev/${name}:${tagName}"
publish = StringUtils.hasText(System.getenv('GHCR_TOKEN'))
if (!isRelease) {
tags = ["ghcr.io/halo/${name}:cnb-main".toString()]
tags = ["ghcr.io/halo-dev/${name}:cnb-main".toString()]
}
docker {
publishRegistry {