docker-bake.hcl 487 B

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