mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2026-08-22 12:04:57 -04:00
Compare commits
2 changed files with 4 additions and 4 deletions
|
|
@ -17,14 +17,14 @@
|
||||||
# Note: you can use --build-arg to specify the version to build:
|
# Note: you can use --build-arg to specify the version to build:
|
||||||
# docker build -t web_vault_build --build-arg VAULT_VERSION=main .
|
# docker build -t web_vault_build --build-arg VAULT_VERSION=main .
|
||||||
|
|
||||||
FROM node:24-trixie AS build
|
FROM node:22-trixie AS build
|
||||||
RUN node --version && npm --version
|
RUN node --version && npm --version
|
||||||
|
|
||||||
# Can be a tag, release, but prefer a commit hash because it's not changeable
|
# Can be a tag, release, but prefer a commit hash because it's not changeable
|
||||||
# https://github.com/bitwarden/clients/commit/${VAULT_VERSION}
|
# https://github.com/bitwarden/clients/commit/${VAULT_VERSION}
|
||||||
#
|
#
|
||||||
# Using https://github.com/vaultwarden/vw_web_builds/tree/v2026.7.0
|
# Using https://github.com/vaultwarden/vw_web_builds/tree/v2026.6.2
|
||||||
ARG VAULT_VERSION=d2a095eb800fe80a9bc524579b974796eae51994
|
ARG VAULT_VERSION=5756400aa48cc39a73984461f8d7c0ddf6feaa28
|
||||||
ENV VAULT_VERSION=$VAULT_VERSION
|
ENV VAULT_VERSION=$VAULT_VERSION
|
||||||
ENV VAULT_FOLDER=bw_clients
|
ENV VAULT_FOLDER=bw_clients
|
||||||
ENV CHECKOUT_TAGS=false
|
ENV CHECKOUT_TAGS=false
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
set -o pipefail -o errexit
|
set -o pipefail -o errexit
|
||||||
BASEDIR=$(RL=$(readlink -n "$0"); SP="${RL:-$0}"; dirname "$(cd "$(dirname "${SP}")"; pwd)/$(basename "${SP}")")
|
BASEDIR=$(RL=$(readlink -n "$0"); SP="${RL:-$0}"; dirname "$(cd "$(dirname "${SP}")"; pwd)/$(basename "${SP}")")
|
||||||
|
|
||||||
FALLBACK_WEBVAULT_VERSION=v2026.7.0
|
FALLBACK_WEBVAULT_VERSION=v2026.6.2
|
||||||
|
|
||||||
# Error handling
|
# Error handling
|
||||||
handle_error() {
|
handle_error() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue