summaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/distribution/docker-bake.hcl
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2022-03-09 12:07:43 +0000
committerGitHub <noreply@github.com>2022-03-09 12:07:43 +0000
commite56150264c5d9be46358f3d671dee49132ca68f7 (patch)
tree6d7019b4747513f5bf67a66bf21a04cec70d7ec1 /vendor/github.com/docker/distribution/docker-bake.hcl
parent3e870f8c8e3736e9c81473d45c8148d4de0e70c3 (diff)
downloadpodman-e56150264c5d9be46358f3d671dee49132ca68f7.tar.gz
podman-e56150264c5d9be46358f3d671dee49132ca68f7.tar.bz2
podman-e56150264c5d9be46358f3d671dee49132ca68f7.zip
Bump github.com/docker/distribution
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.0+incompatible to 2.8.1+incompatible. - [Release notes](https://github.com/docker/distribution/releases) - [Commits](https://github.com/docker/distribution/compare/v2.8.0...v2.8.1) --- updated-dependencies: - dependency-name: github.com/docker/distribution dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/docker/distribution/docker-bake.hcl')
-rw-r--r--vendor/github.com/docker/distribution/docker-bake.hcl18
1 files changed, 16 insertions, 2 deletions
diff --git a/vendor/github.com/docker/distribution/docker-bake.hcl b/vendor/github.com/docker/distribution/docker-bake.hcl
index e1457bb81..4dd5a100c 100644
--- a/vendor/github.com/docker/distribution/docker-bake.hcl
+++ b/vendor/github.com/docker/distribution/docker-bake.hcl
@@ -1,3 +1,15 @@
+// GITHUB_REF is the actual ref that triggers the workflow
+// https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
+variable "GITHUB_REF" {
+ default = ""
+}
+
+target "_common" {
+ args = {
+ GIT_REF = GITHUB_REF
+ }
+}
+
group "default" {
targets = ["image-local"]
}
@@ -8,12 +20,14 @@ target "docker-metadata-action" {
}
target "binary" {
+ inherits = ["_common"]
target = "binary"
output = ["./bin"]
}
target "artifact" {
- target = "artifacts"
+ inherits = ["_common"]
+ target = "artifact"
output = ["./bin"]
}
@@ -30,7 +44,7 @@ target "artifact-all" {
}
target "image" {
- inherits = ["docker-metadata-action"]
+ inherits = ["_common", "docker-metadata-action"]
}
target "image-local" {