docker/bake-action v6.6.0

Use bake-action instead of build-and-push action.
This commit is contained in:
2025-04-27 01:01:49 -05:00
parent c153a0af33
commit 6a1c70333d
4 changed files with 146 additions and 11 deletions

19
docker-bake.hcl Normal file
View File

@ -0,0 +1,19 @@
group "default" {
targets = [ "bookworm", "alpine" ]
}
target "_common" {
args = {
RUBY_VERSION = "3.4.3"
}
}
target "bookworm" {
dockerfile = "./dockerfiles/bookworm.Dockerfile"
inherits = [ "_common" ]
tags = [ "git.kill0.net/ryanc/kubernaut" ]
}
target "alpine" {
dockerfile = "./dockerfiles/alpine.Dockerfile"
inherits = [ "_common" ]
}