mirror of https://github.com/halo-dev/halo
Update GitHub Container Registry namespace for Docker image publishing
parent
5633446434
commit
f1a2669604
|
@ -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