Also push to date-labelled tag
This commit is contained in:
parent
17e289c6f2
commit
3f25025088
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user