Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-04 02:18:00 +01:00
467ecfdc99
- Added support for Quay.io - Added support for GHCR.io To enable support for these container image registries the following needs to be added. As `Actions secrets and variables` - `Secrets` - `DOCKERHUB_TOKEN` and `DOCKERHUB_USERNAME` - `QUAY_TOKEN` and `QUAY_USERNAME` As `Actions secrets and variables` - `Variables` - `Repository Variables` - `DOCKERHUB_REPO` - `GHCR_REPO` - `QUAY_REPO` The `DOCKERHUB_REPO` currently configured in `Secrets` can be removed if wanted, probably best after this PR has been merged. If one of the vars/secrets are not configured it will skip that specific registry!
15 Zeilen
261 B
Bash
15 Zeilen
261 B
Bash
#!/usr/bin/env bash
|
|
|
|
# The default Debian-based images support these arches for all database backends.
|
|
arches=(
|
|
amd64
|
|
armv6
|
|
armv7
|
|
arm64
|
|
)
|
|
export arches
|
|
|
|
if [[ "${DOCKER_TAG}" == *alpine ]]; then
|
|
distro_suffix=.alpine
|
|
fi
|
|
export distro_suffix
|