From 563eac91184d0a1748670f9e786629081827243d Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 2 Jul 2023 10:43:36 +0200 Subject: [PATCH] =?UTF-8?q?Add=20tag=20=E2=80=9Dlatest=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-image.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-image.sh b/build-image.sh index fe3f2d9..73a7805 100755 --- a/build-image.sh +++ b/build-image.sh @@ -49,4 +49,8 @@ mkdir -p "${LOGDIR}" podman pull gentoo/stage3:amd64-nomultilib-systemd podman build "${podman_build_args[@]}" +# Update the tag 'latest'. +podman tag rm "${REGISTRY}:latest" +podman tag "${REGISTRY}:${VERSION}" "${REGISTRY}:latest" + # vim:fileencoding=utf-8:ts=4:syntax=bash:expandtab