github.com/polarismesh/polaris@v1.17.8/release/standalone/docker/prometheus/build_docker_prom.sh (about)

     1  #!/bin/bash
     2  
     3  if [ $# != 1 ]; then
     4      echo "e.g.: bash $0 v1.0"
     5      exit 1
     6  fi
     7  
     8  docker_tag=$1
     9  
    10  echo "docker repository : polarismesh/polaris-prometheus, tag : ${docker_tag}"
    11  
    12  docker buildx build --network=host -t polarismesh/polaris-prometheus:${docker_tag} -t polarismesh/polaris-prometheus:latest --platform linux/amd64,linux/arm64 --push ./