Make version and registry call-able from env

This commit is contained in:
Nils Freydank 2023-07-29 17:16:58 +02:00
parent d5cf377e57
commit 591508e3ce
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -6,8 +6,8 @@ set -uxa
mapfile -t EMERGE_CALL_PARAMETERS <<< "${@}" mapfile -t EMERGE_CALL_PARAMETERS <<< "${@}"
REGISTRY="git.holgersson.xyz/gentoo-related/gentoo-binpkg-builder" REGISTRY="${REGISTRY:-git.holgersson.xyz/gentoo-related/gentoo-binpkg-builder}"
VERSION="latest" VERSION="${VERSION:-latest}"
IMAGE_TAG="${REGISTRY}:${VERSION}" IMAGE_TAG="${REGISTRY}:${VERSION}"
REPOS="${REPOS:-/var/db/repos}" REPOS="${REPOS:-/var/db/repos}"