mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-25 05:10:20 +00: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 lines
261 B
Bash
15 lines
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
|