Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius committed Aug 27, 2024
1 parent a8108ef commit 7bd71aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ jobs:
- name: Bake Docker images
uses: docker/bake-action@a4d7f0b5b91c14a296d792d4ec53a9db17f02e67 # v5.5.0
env:
TARGET_ARCH: >-
["linux/amd64", "linux/arm64"]
TARGET_ARCH: "linux/amd64,linux/arm64"
with:
push: true

Expand Down
6 changes: 3 additions & 3 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ variable "ALFRESCO_REPO_USER_NAME" {
}

variable "TARGET_ARCH" {
default = ["",""] # e.g. ["linux/amd64"]
default = ""
}

target "java_base" {
Expand Down Expand Up @@ -139,7 +139,7 @@ target "java_base" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-base-java:${JDIST}${JAVA_MAJOR}-${DISTRIB_NAME}${DISTRIB_MAJOR}"]
output = ["type=cacheonly"]
platforms = TARGET_ARCH
platforms = split(",", TARGET_ARCH)
}

variable "TOMCAT_MAJOR" {
Expand Down Expand Up @@ -183,7 +183,7 @@ target "tomcat_base" {
}
tags = ["${REGISTRY}/${REGISTRY_NAMESPACE}/alfresco-base-tomcat:tomcat${TOMCAT_MAJOR}-${JDIST}${JAVA_MAJOR}-${DISTRIB_NAME}${DISTRIB_MAJOR}"]
output = ["type=cacheonly"]
platforms = TARGET_ARCH
platforms = split(",", TARGET_ARCH)
}

target "repository" {
Expand Down

0 comments on commit 7bd71aa

Please sign in to comment.