Update web vault to 2.28.0 and dependencies

This commit is contained in:
Daniel García
2022-04-23 18:18:15 +02:00
parent 37fff3ef4a
commit 26ad06df7c
19 changed files with 264 additions and 236 deletions

View File

@@ -59,8 +59,8 @@
# https://docs.docker.com/develop/develop-images/multistage-build/
# https://whitfin.io/speeding-up-rust-docker-builds/
####################### VAULT BUILD IMAGE #######################
{% set vault_version = "2.27.0" %}
{% set vault_image_digest = "sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa" %}
{% set vault_version = "2.28.0" %}
{% set vault_image_digest = "sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603" %}
# The web-vault digest specifies a particular web-vault build on Docker Hub.
# Using the digest instead of the tag name provides better security,
# as the digest of an image is immutable, whereas a tag name can later

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM rust:1.59-bullseye as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM blackdex/rust-musl:x86_64-musl-stable as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM rust:1.59-bullseye as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM blackdex/rust-musl:x86_64-musl-stable as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM rust:1.59-bullseye as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM blackdex/rust-musl:aarch64-musl-stable as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM rust:1.59-bullseye as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM blackdex/rust-musl:aarch64-musl-stable as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM rust:1.59-bullseye as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM blackdex/rust-musl:arm-musleabi-stable as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM rust:1.59-bullseye as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM blackdex/rust-musl:arm-musleabi-stable as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM rust:1.59-bullseye as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM blackdex/rust-musl:armv7-musleabihf-stable as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM rust:1.59-bullseye as build

View File

@@ -16,15 +16,15 @@
# - From https://hub.docker.com/r/vaultwarden/web-vault/tags,
# click the tag name to view the digest of the image it currently points to.
# - From the command line:
# $ docker pull vaultwarden/web-vault:v2.27.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.27.0
# [vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa]
# $ docker pull vaultwarden/web-vault:v2.28.0
# $ docker image inspect --format "{{.RepoDigests}}" vaultwarden/web-vault:v2.28.0
# [vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603]
#
# - Conversely, to get the tag name from the digest:
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa
# [vaultwarden/web-vault:v2.27.0]
# $ docker image inspect --format "{{.RepoTags}}" vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603
# [vaultwarden/web-vault:v2.28.0]
#
FROM vaultwarden/web-vault@sha256:e0cb877daa59677b0031310ee23c00a9ee2806840b40f2319867002bf15ff9aa as vault
FROM vaultwarden/web-vault@sha256:ad3b47c152206f25f2d2b70a93e68650a90d5c8105b894814f9bc7599517a603 as vault
########################## BUILD IMAGE ##########################
FROM blackdex/rust-musl:armv7-musleabihf-stable as build