Skip to content

Commit

Permalink
Update build_docker.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun authored Feb 27, 2023
1 parent 905e7fb commit 579dd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extra_tags=""

pre_release=`echo ${docker_tag}|egrep "(alpha|beta|rc|[T|t]est)"|wc -l`
if [ ${pre_release} == 0 ]; then
extra_tags="-t ${docker_repository}/polaris-limiter:latest"
extra_tags="-t ${docker_repository}:latest"
fi

docker buildx build --network=host -t ${docker_repository}:${docker_tag} ${extra_tags} --platform ${platforms} --push ./

0 comments on commit 579dd71

Please sign in to comment.