Files
inbuxa-server/docker-bake.hcl
T
jcoffey-dev 1fd32c51a0 Import upstream v0.16.26, stripped
Upstream commit: 18f4e9505027d790fd7e9fdad7f922be6719101d
Enterprise-only files removed or emptied: 63
Enterprise-only snippets removed: 118 in 50 files
Dangling module declarations removed: 5
Edits turning enterprise off: 25
Third-party code: 14 files, 0 not in THIRD-PARTY.md
Renamed identifiers: 67 in 19 files
Verification: clean

The same Enterprise footprint as v0.16.25. The build check is clean
apart from the expected errors in the rebuilt-feature tests. Adds
sd_notify readiness, an x86-64-v2 baseline for glibc x86_64 builds
with a startup CPU check, and hickory from upstream's patched branch.
Fixes RocksDB blob GC rewriting every blob on compaction, a milter
stall with SMFIP_NOHDRS, OIDC's email-claim fallback, Mailbox/set
moves and case-only renames, EmailSubmission onSuccess* naming an
existing submission, and VacationResponse/set enabling an empty script.
2026-10-12 07:20:53 -07:00

52 lines
1.2 KiB
HCL

variable "TARGET" {
default = "$TARGET"
}
variable "GHCR_REPO" {
default = "$GHCR_REPO"
}
variable "BUILD_ENV" {
default = "$BUILD_ENV"
}
variable "SUFFIX" {
default = "$SUFFIX"
}
variable "DOCKER_PLATFORM" {
default = "$DOCKER_PLATFORM"
}
target "docker-metadata-action" {}
target "build" {
secret = [
"type=env,id=ACTIONS_RESULTS_URL",
"type=env,id=ACTIONS_RUNTIME_TOKEN",
"type=env,id=GITHUB_TOKEN"
]
args = {
TARGET = "${TARGET}"
BUILD_ENV = equal("", "${BUILD_ENV}") ? null : "${BUILD_ENV}"
}
target = "binaries"
cache-from = [
"type=registry,ref=${GHCR_REPO}-buildcache:${TARGET}"
]
cache-to = [
"type=registry,ref=${GHCR_REPO}-buildcache:${TARGET},mode=max,compression=zstd,compression-level=9,force-compression=true,oci-mediatypes=true,image-manifest=false"
]
context = "./"
dockerfile = "Dockerfile.build"
output = ["./artifact"]
}
target "image" {
inherits = ["build","docker-metadata-action"]
cache-to = [""]
cache-from = [
"type=registry,ref=${GHCR_REPO}-buildcache:${TARGET}"
]
target = equal("", "${SUFFIX}") ? "gnu" : "musl"
platforms = [
"${DOCKER_PLATFORM}"
]
output = [
""
]
}