diff --git a/scripts/build.sh b/scripts/build.sh index a920fa8..4f135d3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -5,6 +5,8 @@ REGISTRY=registry.kh.cubetiqs.com IMAGE=highcharts-export-server CONTAINER=${REGISTRY}/${IMAGE}:${TAG} +echo "Building container image with ${CONTAINER}" docker build -t ${CONTAINER} . +echo "Publishing the container image to ${REGISTRY}" docker push ${CONTAINER} \ No newline at end of file diff --git a/scripts/run.sh b/scripts/run.sh old mode 100644 new mode 100755 index fd2e0b5..70d0b3b --- a/scripts/run.sh +++ b/scripts/run.sh @@ -1,3 +1,7 @@ #!/bin/bash +echo "Stop and remove container..." +docker rm -f highcharts-export-server + +echo "Run the container..." docker run -d --name highcharts-export-server -p 8080:8080 registry.kh.cubetiqs.com/highcharts-export-server \ No newline at end of file