Skip to content

Commit

Permalink
enforce arch for images not yet suporting arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Sep 3, 2024
1 parent e540681 commit f955945
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ target "java_base" {
"org.opencontainers.image.authors" = "${LABEL_AUTHOR}"
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-base-java:${JDIST}${JAVA_MAJOR}-${DISTRIB_NAME}${DISTRIB_MAJOR}"]
output = ["type=docker"]
output = ["type=cacheonly"]
platforms = split(",", "${TARGETARCH}")
}

Expand Down Expand Up @@ -204,6 +204,7 @@ target "repository" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-content-repository:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

target "search_liveindexing" {
Expand Down Expand Up @@ -243,6 +244,7 @@ target "search_liveindexing" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/${liveindexing.artifact}:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

variable "ALFRESCO_TROUTER_USER_NAME" {
Expand Down Expand Up @@ -272,6 +274,7 @@ target "ats_trouter" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-transform-router:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

variable "ALFRESCO_SFS_USER_NAME" {
Expand Down Expand Up @@ -301,6 +304,7 @@ target "ats_sfs" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-shared-file-store:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

variable "ALFRESCO_IMAGEMAGICK_USER_NAME" {
Expand Down Expand Up @@ -330,6 +334,7 @@ target "tengine_imagemagick" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-imagemagick:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

variable "ALFRESCO_LIBREOFFICE_USER_NAME" {
Expand Down Expand Up @@ -359,6 +364,7 @@ target "tengine_libreoffice" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-libreoffice:${TAG}"]
output = ["type=docker"]
platforms = [ "linux/amd64" ]
}

variable "ALFRESCO_MISC_USER_NAME" {
Expand Down Expand Up @@ -388,6 +394,7 @@ target "tengine_misc" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-misc:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

variable "ALFRESCO_TIKA_USER_NAME" {
Expand Down Expand Up @@ -417,6 +424,7 @@ target "tengine_tika" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-tika:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

variable "ALFRESCO_PDFRENDERER_USER_NAME" {
Expand Down Expand Up @@ -446,6 +454,7 @@ target "tengine_pdfrenderer" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-pdf-renderer:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

variable "ALFRESCO_AIO_USER_NAME" {
Expand Down Expand Up @@ -475,6 +484,7 @@ target "tengine_aio" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-transform-core-aio:${TAG}"]
output = ["type=docker"]
platforms = [ "linux/amd64" ]
}

variable "ALFRESCO_MSTEAMS_USER_NAME" {
Expand Down Expand Up @@ -504,6 +514,7 @@ target "connector_msteams" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-ms-teams-service:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

variable "ALFRESCO_MS365_USER_NAME" {
Expand Down Expand Up @@ -533,4 +544,5 @@ target "connector_ms365" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-ooi-service:${TAG}"]
output = ["type=docker"]
platforms = split(",", "${TARGETARCH}")
}

0 comments on commit f955945

Please sign in to comment.