diff --git a/helm/sreez-website/values.yaml b/helm/sreez-website/values.yaml index 94b929e..26f5f4e 100644 --- a/helm/sreez-website/values.yaml +++ b/helm/sreez-website/values.yaml @@ -8,7 +8,7 @@ image: repository: registry.nationtech.io/sreez-website pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. - tag: "v1.1.0" + tag: "v1.2.0" imagePullSecrets: - name: nationtech-registry-key diff --git a/sreez/build_docker.sh b/sreez/build_docker.sh index 7b7e510..eb815be 100755 --- a/sreez/build_docker.sh +++ b/sreez/build_docker.sh @@ -1,24 +1,19 @@ #!/bin/bash -if [[ -z "${1}" ]] -then - echo "Specify the image tag as first argument to this script" - exit 1 -fi - REGISTRY=registry.nationtech.io IMAGE_NAME=sreez-website -TAG="v1.1.0" +TAG="v1.2.0" IMAGE="${REGISTRY}/${IMAGE_NAME}:${TAG}" -echo "Going to build and push image ${IMAGE}" +echo -n "Going to build and push image ${IMAGE}. [enter] to continue " +read -docker build -t "${IMAGE}" . +#docker build -t "${IMAGE}" . -docker push "${IMAGE}" +#docker push "${IMAGE}" -echo "Image is built and pushed, do you want to commit and deploy this new version ? (enter to continue, CTRL+C to abort" +echo -n "Image is built and pushed, do you want to commit and deploy this new version ? [enter] to continue, CTRL+C to abort " read python ../helm/tools/update_yaml.py ../helm/sreez-website/values.yaml .image.tag "${TAG}"