mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-18 08:45:24 +00:00
25 lines
1.3 KiB
YAML
25 lines
1.3 KiB
YAML
---
|
|
vault_version: "v2023.8.2"
|
|
vault_image_digest: "sha256:b361e79309ef2c4368f880f350166daade41eb0927a9adf376c76e3713027252" # v2023.8.2
|
|
rust_version: 1.72.1 # Rust version to be used
|
|
debian_version: bookworm # Debian release name to be used
|
|
alpine_version: 3.18 # Alpine version to be used
|
|
# For which platforms/architectures will we try to build images
|
|
platforms: ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/arm/v6"]
|
|
# Determine the build images per OS/Arch
|
|
build_stage_image:
|
|
debian:
|
|
image: "docker.io/library/rust:{{rust_version}}-slim-{{debian_version}}"
|
|
platform: "$BUILDPLATFORM"
|
|
alpine:
|
|
image: "build_${TARGETARCH}${TARGETVARIANT}"
|
|
platform: "linux/amd64" # The Alpine build images only have linux/amd64 images
|
|
arch_image:
|
|
amd64: "ghcr.io/blackdex/rust-musl:x86_64-musl-stable-{{rust_version}}"
|
|
arm64: "ghcr.io/blackdex/rust-musl:aarch64-musl-stable-{{rust_version}}"
|
|
armv7: "ghcr.io/blackdex/rust-musl:armv7-musleabihf-stable-{{rust_version}}"
|
|
armv6: "ghcr.io/blackdex/rust-musl:arm-musleabi-stable-{{rust_version}}"
|
|
# The final image which will be used to distribute the container images
|
|
runtime_stage_image:
|
|
debian: "docker.io/library/debian:{{debian_version}}-slim"
|
|
alpine: "docker.io/library/alpine:{{alpine_version}}"
|