summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2019-01-15 14:43:02 +0100
committerOndrej Holy <oholy@redhat.com>2019-01-21 15:14:29 +0100
commitdc28d9a74875b6b3112992fc584f293a6fc18752 (patch)
tree2ffc4387e3efd1c07749f50a6fa405f608b0c65d /.gitlab-ci
parent860c1d4f759354c23e0959c30476bd7fac417452 (diff)
downloadgvfs-dc28d9a74875b6b3112992fc584f293a6fc18752.tar.gz
ci: Generate images over GitLab
Add a manual job to regenerate Docker image used by CI into GitLab CI and use image with :latest tag by default. In case of some failures, one can always use another tag.
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/run-docker.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
deleted file mode 100755
index 4e8e0e11..00000000
--- a/.gitlab-ci/run-docker.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-TAG="registry.gitlab.gnome.org/gnome/gvfs/master:v4"
-
-if [[ "$1" == "--no-cache" ]]; then
- NOCACHE="--no-cache"
-fi
-
-docker build $NOCACHE -t $TAG .
-
-if [[ "$1" == "--push" ]]; then
- docker login registry.gitlab.gnome.org
- docker push $TAG
-fi \ No newline at end of file