For aqua >= v2.58.0, the variants field allows matching artifacts that share the same OS and architecture but differ by another axis, such as the C library (libc). An override matches only when every variant's value equals the value detected by aqua at runtime.
Currently supported variant keys:
libc: Values can be musl or glibc. On Linux, aqua detects this via the presence of /lib/ld-musl-*.so.1 or /lib/libc.musl-*.so.1, or by checking ldd --version output.
You can manually override the detected libc using the AQUA_LIBC environment variable (e.g., AQUA_LIBC=musl).
overrides:
- goos: linux
goarch: amd64
variants:
- key: libc
value: musl
asset: foo-{{.OS}}-{{.Arch}}-musl.{{.Format}}
- goos: linux
goarch: amd64
variants:
- key: libc
value: glibc
asset: foo-{{.OS}}-{{.Arch}}-glibc.{{.Format}}