diff options
Diffstat (limited to 'bin/image')
-rwxr-xr-x | bin/image | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/image b/bin/image new file mode 100755 index 0000000..8a98eb4 --- /dev/null +++ b/bin/image @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# +# SPDX-License-Identifier: ISC +# Copyright © 2022 siddharth <s@ricketyspace.net> + +REPO="public.ecr.aws/w3h8c8i8/peach" +TAG=$(date +%Y%m%d%H%M%S) +if [ -z "$TAG" ]; then + echo "TAG empty" + exit 1 +fi + +docker build -t "$REPO":"$TAG" . |