docker/bake-action v6.6.0
Some checks failed
Gitea Actions Demo / lint (push) Successful in 27s
Gitea Actions Demo / test (push) Successful in 12s
Gitea Actions Demo / docker (push) Failing after 27s

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 e3aa342cd3
4 changed files with 150 additions and 18 deletions

23
docker-bake.hcl Normal file
View 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" ]
}