docker-bake.hcl 447 B

1234567891011121314151617181920
  1. variable "MIRROR" {
  2. default = "https://repo-ci.voidlinux.org/"
  3. }
  4. target "docker-metadata-action" {}
  5. target "_common" {
  6. inherits = ["docker-metadata-action"]
  7. dockerfile = "container/Containerfile"
  8. cache-to = ["type=local,dest=/tmp/buildx-cache"]
  9. cache-from = ["type=local,src=/tmp/buildx-cache"]
  10. args = {
  11. "MIRROR" = "${MIRROR}"
  12. }
  13. }
  14. target "void-mklive" {
  15. inherits = ["_common"]
  16. platforms = ["linux/amd64", "linux/arm64"]
  17. }