blob: 5f572d4cd7e1afb56430c54066d7d5d0a3b8cc22 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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"
|