ci: bin-image workflow

This workflow will just build the bin-image bake target.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2023-05-11 15:45:17 +02:00
parent ae1ca67178
commit 135d8f04f9
2 changed files with 78 additions and 2 deletions

View File

@@ -59,6 +59,11 @@ variable "GITHUB_SHA" {
default = ""
}
# Special target: https://github.com/docker/metadata-action#bake-definition
target "docker-metadata-action" {
tags = ["moby-bin:local"]
}
# Defines the output folder
variable "DESTDIR" {
default = ""
@@ -157,8 +162,7 @@ target "all-cross" {
#
target "bin-image" {
inherits = ["all"]
tags = ["moby-bin:local"]
inherits = ["all", "docker-metadata-action"]
output = ["type=docker"]
}