From 3f250250889febdb823b6630ae45b44c8197496a Mon Sep 17 00:00:00 2001 From: Condorra Date: Sun, 27 Oct 2024 20:58:35 +1100 Subject: [PATCH] Also push to date-labelled tag --- .ci/pack-container | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/pack-container b/.ci/pack-container index 4652490..9cd1d32 100755 --- a/.ci/pack-container +++ b/.ci/pack-container @@ -5,4 +5,7 @@ export HOME=$(pwd) buildah --root containers build -f wwp-repo/container/Containerfile -t quay.io/blasthavers/worldwideportal:latest echo "$CONTAINER_REGISTRY_KEY" | buildah login --password-stdin --username blasthavers quay.io +DATE=$(date +"%Y%m%d") +buildah --root containers tag quay.io/blasthavers/worldwideportal:latest "quay.io/blasthavers/worldwideportal:$DATE" buildah --root containers push quay.io/blasthavers/worldwideportal:latest +buildah --root containers push "quay.io/blasthavers/worldwideportal:$DATE"