summaryrefslogtreecommitdiff
path: root/scripts/docker
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/docker')
-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
-