mirror of https://github.com/halo-dev/halo
Merge pull request #7773 from halo-dev/chore/correct-ghcr-ns-nae
Update GitHub Container Registry namespace for Docker image publishingpull/7775/head
commit
6ab51fde5e
|
@ -208,10 +208,10 @@ if (!isRelease) {
|
||||||
tasks.register('publishToGhcr', BootBuildImage) {
|
tasks.register('publishToGhcr', BootBuildImage) {
|
||||||
group = 'publishing'
|
group = 'publishing'
|
||||||
description = 'Build and publish the Docker image to GitHub Container Registry.'
|
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'))
|
publish = StringUtils.hasText(System.getenv('GHCR_TOKEN'))
|
||||||
if (!isRelease) {
|
if (!isRelease) {
|
||||||
tags = ["ghcr.io/halo/${name}:cnb-main".toString()]
|
tags = ["ghcr.io/halo-dev/${name}:cnb-main".toString()]
|
||||||
}
|
}
|
||||||
docker {
|
docker {
|
||||||
publishRegistry {
|
publishRegistry {
|
||||||
|
|
Loading…
Reference in New Issue