mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-26 23:25:56 -05:00
d722328f05
* WIP: Container building changes * Small updates - Updated to rust 1.73.0 - Updated crates - Updated documentation - Added a bake.sh script to make baking easier * Update GitHub Actions Workflow - Updated workflow to use qemu and buildx bake In the future i would like to extract the alpine based binaries and add them as artifacts to the release. * Address review remarks and small updates - Addressed review remarks - Added `podman-bake.sh` script to build Vaultwarden with podman - Updated README - Updated crates - Added `VW_VERSION` support - Added annotations - Updated web-vault to v2023.9.1
29 lines
1.5 KiB
YAML
29 lines
1.5 KiB
YAML
---
|
|
vault_version: "v2023.9.1"
|
|
vault_image_digest: "sha256:ccf76db7406378b36cb937c1a3ca884448e32e7f82effd4d97b335cd725c75fd"
|
|
# Cross Compile Docker Helper Scripts v1.3.0
|
|
# We use the linux/amd64 platform shell scripts since there is no difference between the different platform scripts
|
|
xx_image_digest: "sha256:c9609ace652bbe51dd4ce90e0af9d48a4590f1214246da5bc70e46f6dd586edc"
|
|
rust_version: 1.73.0 # 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}}"
|