mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
Signed-off-by: Alexei Fedotov <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]>
13 lines
250 B
Bash
Executable File
13 lines
250 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
TAG=${IMAGE_TAG:-'latest'}
|
|
|
|
docker build --build-arg ARGO_VERSION=${TAG} -t ${IMAGE_NAMESPACE:-$(whoami)}/argocd-ui:${TAG} .
|
|
|
|
if [ "$DOCKER_PUSH" == "true" ]
|
|
then
|
|
docker push ${IMAGE_NAMESPACE:-$(whoami)}/argocd-ui:${TAG}
|
|
fi
|