Skip to content

Commit

Permalink
list of string
Browse files Browse the repository at this point in the history
  • Loading branch information
smerle33 committed Aug 21, 2023
1 parent 3f71b3a commit 3ebaece
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/io/jenkins/infra/docker/docker-bake.override.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ variable "TAG_NAME" {
default = ""
}

variable "PLATFORMS" {
default = "linux/arm64"
}

# return the full image name
function "full_image_name" {
params = [tag]
Expand All @@ -21,7 +25,7 @@ target "default" {
full_image_name("latest"),
full_image_name(TAG_NAME)
]
platforms = ["$(PLATFORMS)"]
platforms = [PLATFORMS]
args = {
GIT_COMMIT_REV="$(GIT_COMMIT_REV)",
GIT_SCM_URL="$(GIT_SCM_URL)",
Expand Down

0 comments on commit 3ebaece

Please sign in to comment.