docker/bake-action v6.6.0
Use bake-action instead of build-and-push action.
This commit is contained in:
23
docker-bake.hcl
Normal file
23
docker-bake.hcl
Normal file
@ -0,0 +1,23 @@
|
||||
target "docker-metadata-action" {}
|
||||
target "docker-metadata-action-alpine" {}
|
||||
|
||||
group "default" {
|
||||
targets = [ "bookworm", "alpine" ]
|
||||
}
|
||||
target "_common" {
|
||||
args = {
|
||||
RUBY_VERSION = "3.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
target "bookworm" {
|
||||
dockerfile = "./dockerfiles/bookworm.Dockerfile"
|
||||
inherits = [ "_common", "docker-metadata-action" ]
|
||||
tags = [ "git.kill0.net/ryanc/kubernaut" ]
|
||||
}
|
||||
|
||||
target "alpine" {
|
||||
dockerfile = "./dockerfiles/alpine.Dockerfile"
|
||||
inherits = [ "_common", "docker-metadata-action-alpine" ]
|
||||
tags = [ "git.kill0.net/ryanc/kubernaut" ]
|
||||
}
|
Reference in New Issue
Block a user