Skip to content

Commit

Permalink
Update deploy-docker.sh
Browse files Browse the repository at this point in the history
this fixes a case where latest was re-added to the tags for pushing after image artifact creation
  • Loading branch information
argakiig committed May 12, 2021
1 parent e2232dd commit 024c1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/actions/linux/deploy-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 024c1df

Please sign in to comment.