Make version and registry call-able from env for images, too
This commit is contained in:
parent
591508e3ce
commit
39f2d03f66
@ -6,8 +6,8 @@ set -uxa
|
|||||||
|
|
||||||
GPG_SIGNING_KEY="${GPG_SIGNING_KEY:-0x0F1DEAB2D36AD112}"
|
GPG_SIGNING_KEY="${GPG_SIGNING_KEY:-0x0F1DEAB2D36AD112}"
|
||||||
|
|
||||||
REGISTRY="git.holgersson.xyz/gentoo-related/gentoo-binpkg-builder"
|
REGISTRY="${REGISTRY:-git.holgersson.xyz/gentoo-related/gentoo-binpkg-builder}"
|
||||||
VERSION="$(date --utc +%Y%m%d_%H%M%S)"
|
VERSION="${VERSION:-$(date --utc +%Y%m%d_%H%M%S)}"
|
||||||
IMAGE_TAG="${REGISTRY}:${VERSION}"
|
IMAGE_TAG="${REGISTRY}:${VERSION}"
|
||||||
|
|
||||||
REPOS="${REPOS:-/var/db/repos}"
|
REPOS="${REPOS:-/var/db/repos}"
|
||||||
|
Reference in New Issue
Block a user