diff --git a/build-packages.sh b/build-packages.sh index 71a8226..7fd27cb 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -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}"