[pitivi/buildah-podman] Stop using privileged GitLab runners
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/buildah-podman] Stop using privileged GitLab runners
- Date: Sun, 9 Aug 2020 22:07:42 +0000 (UTC)
commit f6557b56f67fab3f27c641d6aea30d0d2cb850e0
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Mon Aug 10 00:07:29 2020 +0200
Stop using privileged GitLab runners
.gitlab-ci.yml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f69f879d..1f77a1f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,8 +12,6 @@ variables:
.docker_image_template:
- tags:
- - privileged
image: docker:latest
variables:
DOCKER_DRIVER: overlay2
@@ -30,7 +28,7 @@ variables:
- env
- - docker run --privileged --name ${TMPIMAGENAME} ${BASE_IMAGE} bash -c "${CLONE_PITIVI} &&
${BUILD_PITIVI} && rm -Rf ${BUILDDIR}"
+ - docker run --name ${TMPIMAGENAME} ${BASE_IMAGE} bash -c "${CLONE_PITIVI} && ${BUILD_PITIVI} && rm -Rf
${BUILDDIR}"
- docker commit ${TMPIMAGENAME} ${IMAGE}
- docker rm ${TMPIMAGENAME}
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]