mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-10 14:24:31 +00:00
55fdee3bf8
- Updated all crates including Diesel and the new mysqlclient-sys - Updated the MSRV to v1.78 as that is what Diesel mandates - Added the mimalloc crate as a patch for now to fix armv6 static builds This probably makes #4606 possible - Updated web-vault to v2024.5.1 - Updated GitHub Actions Fixed an issue with the localhost images for extracting the musl binaries.
28 lines
1.5 KiB
YAML
28 lines
1.5 KiB
YAML
---
|
|
vault_version: "v2024.5.1"
|
|
vault_image_digest: "sha256:4bbfeee86a44fbf2a5a9f6f038946b6931f0a3aa1e8cdcae8805c172d036fa89"
|
|
# Cross Compile Docker Helper Scripts v1.4.0
|
|
# We use the linux/amd64 platform shell scripts since there is no difference between the different platform scripts
|
|
xx_image_digest: "sha256:0cd3f05c72d6c9b038eb135f91376ee1169ef3a330d34e418e65e2a5c2e9c0d4"
|
|
rust_version: 1.79.0 # Rust version to be used
|
|
debian_version: bookworm # Debian release name to be used
|
|
alpine_version: "3.20" # 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}}"
|