#!/bin/bash -e set -Eeuo pipefail export HOME=$(pwd) buildah 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 tag quay.io/blasthavers/worldwideportal:latest "quay.io/blasthavers/worldwideportal:$DATE" buildah push quay.io/blasthavers/worldwideportal:latest buildah push "quay.io/blasthavers/worldwideportal:$DATE"