From e032139da69ba3892f6a6adbc5fc7131854abf9e Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 2 Jul 2023 10:43:36 +0200 Subject: [PATCH] Split IMAGE_TAG into REGISTRY plus VERSION --- build-image.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-image.sh b/build-image.sh index 598fd27..fe3f2d9 100755 --- a/build-image.sh +++ b/build-image.sh @@ -6,7 +6,10 @@ set -uxa GPG_SIGNING_KEY="${GPG_SIGNING_KEY:-0x0F1DEAB2D36AD112}" -IMAGE_TAG="git.holgersson.xyz/gentoo-related/gentoo-binpkg-builder:$(date --utc +%Y%m%d_%H%M%S)" +REGISTRY="git.holgersson.xyz/gentoo-related/gentoo-binpkg-builder" +VERSION="$(date --utc +%Y%m%d_%H%M%S)" +IMAGE_TAG="${REGISTRY}:${VERSION}" + REPOS="${REPOS:-/var/db/repos}" DISTFILES="${DISTFILES:-/var/cache/distfiles-podman-1}" BINPKG="${BINPKG:-/var/cache/packages-podman-1}"