Skip to content

Commit

Permalink
fix(buildDockerAndPublishImage): correct variable interpolation withi…
Browse files Browse the repository at this point in the history
…n meta data
  • Loading branch information
smerle33 committed Sep 8, 2023
1 parent 4353273 commit 240800b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions resources/io/jenkins/infra/docker/jenkinsinfrabakefile.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ target "default" {
]
platforms = [BAKE_TARGETPLATFORMS]
args = {
GIT_COMMIT_REV="$(GIT_COMMIT_REV)",
GIT_SCM_URL="$(GIT_SCM_URL)",
BUILD_DATE="$(BUILD_DATE)",
GIT_COMMIT_REV="${GIT_COMMIT_REV}",
GIT_SCM_URL="${GIT_SCM_URL}",
BUILD_DATE="${BUILD_DATE}",
}
labels = {
"org.opencontainers.image.source"="$(GIT_SCM_URL)",
"org.label-schema.vcs-url"="$(GIT_SCM_URL)",
"org.opencontainers.image.url"="$(SCM_URI)",
"org.label-schema.url"="$(SCM_URI)",
"org.opencontainers.image.revision"="$(GIT_COMMIT_REV)",
"org.label-schema.vcs-ref"="$(GIT_COMMIT_REV)",
"org.opencontainers.image.created"="$(BUILD_DATE)",
"org.label-schema.build-date"="$(BUILD_DATE)",
"org.opencontainers.image.source"="${GIT_SCM_URL}",
"org.label-schema.vcs-url"="${GIT_SCM_URL}",
"org.opencontainers.image.url"="${SCM_URI}",
"org.label-schema.url"="${SCM_URI}",
"org.opencontainers.image.revision"="${GIT_COMMIT_REV}",
"org.label-schema.vcs-ref"="${GIT_COMMIT_REV}",
"org.opencontainers.image.created"="${BUILD_DATE}",
"org.label-schema.build-date"="${BUILD_DATE}",
}
}

0 comments on commit 240800b

Please sign in to comment.