Make version and registry call-able from env
This commit is contained in:
parent
d5cf377e57
commit
591508e3ce
@ -6,8 +6,8 @@ set -uxa
|
||||
|
||||
mapfile -t EMERGE_CALL_PARAMETERS <<< "${@}"
|
||||
|
||||
REGISTRY="git.holgersson.xyz/gentoo-related/gentoo-binpkg-builder"
|
||||
VERSION="latest"
|
||||
REGISTRY="${REGISTRY:-git.holgersson.xyz/gentoo-related/gentoo-binpkg-builder}"
|
||||
VERSION="${VERSION:-latest}"
|
||||
IMAGE_TAG="${REGISTRY}:${VERSION}"
|
||||
|
||||
REPOS="${REPOS:-/var/db/repos}"
|
||||
|
Reference in New Issue
Block a user