Also push to date-labelled tag

This commit is contained in:
Condorra 2024-10-27 20:58:35 +11:00
parent 17e289c6f2
commit 3f25025088

View File

@ -5,4 +5,7 @@ export HOME=$(pwd)
buildah --root containers build -f wwp-repo/container/Containerfile -t quay.io/blasthavers/worldwideportal:latest 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 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:latest
buildah --root containers push "quay.io/blasthavers/worldwideportal:$DATE"