docker-bake.hcl 522 B

12345678910111213141516171819202122232425262728293031
  1. variable "CONTEXT" {
  2. default = "."
  3. }
  4. // Special target: https://github.com/docker/metadata-action#bake-definition
  5. target "docker-metadata-action" {
  6. tags = ["dockage/alpine:local"]
  7. }
  8. group "default" {
  9. targets = ["base"]
  10. }
  11. target "base" {
  12. context = "${CONTEXT}/"
  13. target = "base"
  14. platforms = [
  15. "linux/386",
  16. "linux/amd64",
  17. "linux/arm/v6",
  18. "linux/arm/v7",
  19. "linux/arm64/v8",
  20. "linux/ppc64le",
  21. "linux/s390x"
  22. ]
  23. }
  24. target "openrc" {
  25. inherits = ["base"]
  26. target = "openrc"
  27. }