summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-09-18 10:20:12 -0300
committerdrebs <drebs@riseup.net>2017-09-20 18:55:59 -0300
commit61afd50e283b79e2e729cc1e2b42b8674b6706d7 (patch)
tree0bcaf1cc9342e0a88f072dd926f134b7834edbb9
parentdac9c79e1c3adaa118794f92b29f97d009478589 (diff)
[test] use new Dockerfile location to update docker image
-rwxr-xr-xscripts/docker/build-docker-image.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/docker/build-docker-image.sh b/scripts/docker/build-docker-image.sh
index 3ef003dc..2e4d3e43 100755
--- a/scripts/docker/build-docker-image.sh
+++ b/scripts/docker/build-docker-image.sh
@@ -19,11 +19,10 @@ if [ -z "${LAST_COMMIT}" ]; then
exit 1
fi
-if git diff "${LAST_COMMIT}" HEAD --name-only | grep testing/docker; then
+if git diff "${LAST_COMMIT}" HEAD --name-only | grep scripts/docker; then
docker --version
docker info
docker login -u gitlab-ci-token -e sysdev@leap.se -p "${CI_JOB_TOKEN}" "${CI_REGISTRY}"
- docker build -t "${CI_REGISTRY_IMAGE}:latest" testing/docker
+ docker build -t "${CI_REGISTRY_IMAGE}:latest" scripts/docker
docker push "${CI_REGISTRY_IMAGE}":latest
fi
-