Update deploy-docker.sh
this fixes a case where latest was re-added to the tags for pushing after image artifact creation
This commit is contained in:
parent
e2232dd7ab
commit
024c1dfe8b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue