From 024c1dfe8b03b12cd5065b675ed2ebe327baa25d Mon Sep 17 00:00:00 2001 From: Russel Waters <6511720+argakiig@users.noreply.github.com> Date: Wed, 12 May 2021 10:57:10 -0700 Subject: [PATCH] Update deploy-docker.sh this fixes a case where latest was re-added to the tags for pushing after image artifact creation --- ci/actions/linux/deploy-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/actions/linux/deploy-docker.sh b/ci/actions/linux/deploy-docker.sh index 1dbc97fa0e..cf283e9b3d 100755 --- a/ci/actions/linux/deploy-docker.sh +++ b/ci/actions/linux/deploy-docker.sh @@ -51,7 +51,7 @@ if [ -n "$DOCKER_PASSWORD" ]; then echo "Deployed nano-env" exit 0 else - tags=$(docker images --format '{{.Repository}}:{{.Tag }}' | grep nanocurrency | grep -vE "env|ghcr.io|none") + tags=$(docker images --format '{{.Repository}}:{{.Tag }}' | grep nanocurrency | grep -vE "env|ghcr.io|none|latest") for a in $tags; do "$scripts"/custom-timeout.sh 30 docker push "$a" done