Skip to content

Commit

Permalink
add missing namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Aug 13, 2024
1 parent 15c1d2e commit 3bd2b14
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
ACS_VALUES_VERSION: cfb0d426eff14a8b581c31e61db5e670da09ba3b
ARTIFACT_NAME: alfresco-docker-images
REGISTRY: ghcr.io
REGISTRY_NAMESPACE: Alfresco
TAG: ${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}

concurrency:
Expand Down
32 changes: 18 additions & 14 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ variable "REGISTRY" {
default = "localhost"
}

variable "REGISTRY_NAMESPACE" {
default = "Alfresco"
}

variable "TAG" {
default = "latest"
}
Expand Down Expand Up @@ -129,7 +133,7 @@ target "java_base" {
"org.opencontainers.image.source" = "$LABEL_SOURCE"
"org.opencontainers.image.authors" = "${LABEL_AUTHOR}"
}
tags = ["${REGISTRY}/alfresco-base-java:${JDIST}${JAVA_MAJOR}-${DISTRIB_NAME}${DISTRIB_MAJOR}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-base-java:${JDIST}${JAVA_MAJOR}-${DISTRIB_NAME}${DISTRIB_MAJOR}"]
output = ["type=cacheonly"]
}

Expand Down Expand Up @@ -172,7 +176,7 @@ target "tomcat_base" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Tomcat"
"org.opencontainers.image.description" = "A base image shipping Tomcat for Alfresco Products"
}
tags = ["${REGISTRY}/alfresco-base-tomcat:tomcat${TOMCAT_MAJOR}-${JDIST}${JAVA_MAJOR}-${DISTRIB_NAME}${DISTRIB_MAJOR}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-base-tomcat:tomcat${TOMCAT_MAJOR}-${JDIST}${JAVA_MAJOR}-${DISTRIB_NAME}${DISTRIB_MAJOR}"]
output = ["type=cacheonly"]
}

Expand All @@ -193,7 +197,7 @@ target "repository" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Content Repository"
"org.opencontainers.image.description" = "Alfresco Content Services Repository"
}
tags = ["${REGISTRY}/alfresco-content-repository:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-content-repository:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -232,7 +236,7 @@ target "search_liveindexing" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Enterprise Search - ${liveindexing.name}"
"org.opencontainers.image.description" = "${PRODUCT_LINE} Enterprise Search - ${liveindexing.name} live indexing"
}
tags = ["${REGISTRY}/${liveindexing.artifact}:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/${liveindexing.artifact}:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -261,7 +265,7 @@ target "ats_trouter" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} ATS Trouter"
"org.opencontainers.image.description" = "Alfresco Transform Service Trouter"
}
tags = ["${REGISTRY}/alfresco-transform-router:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-transform-router:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -290,7 +294,7 @@ target "ats_sfs" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} ATS Shared File Store"
"org.opencontainers.image.description" = "Alfresco Transform Service ATS Shared File Store"
}
tags = ["${REGISTRY}/alfresco-shared-file-store:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-shared-file-store:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -319,7 +323,7 @@ target "tengine_imagemagick" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Transform Engine Imagemagick"
"org.opencontainers.image.description" = "Alfresco Transform Engine Imagemagick"
}
tags = ["${REGISTRY}/alfresco-imagemagick:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-imagemagick:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -348,7 +352,7 @@ target "tengine_libreoffice" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Transform Engine LibreOffice"
"org.opencontainers.image.description" = "Alfresco Transform Engine LibreOffice"
}
tags = ["${REGISTRY}/alfresco-libreoffice:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-libreoffice:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -377,7 +381,7 @@ target "tengine_misc" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Transform Engine Misc"
"org.opencontainers.image.description" = "Alfresco Transform Engine Misc"
}
tags = ["${REGISTRY}/alfresco-misc:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-misc:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -406,7 +410,7 @@ target "tengine_tika" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Transform Engine Tika"
"org.opencontainers.image.description" = "Alfresco Transform Engine Tika"
}
tags = ["${REGISTRY}/alfresco-tika:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-tika:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -435,7 +439,7 @@ target "tengine_pdfrenderer" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Transform Engine PDF Renderer"
"org.opencontainers.image.description" = "Alfresco Transform Engine PDF Renderer"
}
tags = ["${REGISTRY}/alfresco-pdf-renderer:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-pdf-renderer:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -464,7 +468,7 @@ target "tengine_aio" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Transform Engine All In One"
"org.opencontainers.image.description" = "Alfresco Transform Engine All In One"
}
tags = ["${REGISTRY}/alfresco-transform-core-aio:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-transform-core-aio:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -493,7 +497,7 @@ target "connector_msteams" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Connector Microsoft Teams"
"org.opencontainers.image.description" = "Alfresco Connector Microsoft Teams"
}
tags = ["${REGISTRY}/alfresco-ms-teams-service:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-ms-teams-service:${TAG}"]
output = ["type=docker"]
}

Expand Down Expand Up @@ -522,6 +526,6 @@ target "connector_ms365" {
"org.opencontainers.image.title" = "${PRODUCT_LINE} Microsoft 365 Connector"
"org.opencontainers.image.description" = "Alfresco Microsoft 365 Connector"
}
tags = ["${REGISTRY}/alfresco-ooi-service:${TAG}"]
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-ooi-service:${TAG}"]
output = ["type=docker"]
}

0 comments on commit 3bd2b14

Please sign in to comment.