diff options
Diffstat (limited to 'bin/image-push')
-rwxr-xr-x | bin/image-push | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/image-push b/bin/image-push deleted file mode 100755 index 5f572d4..0000000 --- a/bin/image-push +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -# -# SPDX-License-Identifier: ISC -# Copyright © 2022 siddharth ravikumar <s@ricketyspace.net> - -REPO="public.ecr.aws/w3h8c8i8/peach" - -# Find the most recent tag. -TAG=$(docker images "$REPO" --format "{{.Tag}}" | head -n 1) -if [ -z "$TAG" ]; then - echo "No recent tags found" - exit 1 -fi - -docker push "$REPO":"$TAG" |