github.com/argoproj/argo-cd@v1.8.7/ui/scripts/build_docker.sh (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  
     5  TAG=${IMAGE_TAG:-'latest'}
     6  
     7  docker build --build-arg ARGO_VERSION=${TAG} -t ${IMAGE_NAMESPACE:-`whoami`}/argocd-ui:${TAG} .
     8  
     9  if [ "$DOCKER_PUSH" == "true" ]
    10  then
    11      docker push ${IMAGE_NAMESPACE:-`whoami`}/argocd-ui:${TAG}
    12  fi