From 1600962042238e4b752dd776f397aeb8f8a4294a Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 18 Aug 2022 10:25:55 +0300 Subject: [PATCH] gitlab --- .deploy/deploy-dev.yaml | 2 +- gitlab-runner/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index fad33fb..6fd3b50 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -64,7 +64,7 @@ services: gitlab-runner: image: mathwave/sprint-repo:gitlab-runner volumes: - - /etc:/etc + - /etc/builds:/etc/builds - /var/run/docker.sock:/var/run/docker.sock environment: GITLAB_REGISTRATION_TOKEN: $GITLAB_REGISTRATION_TOKEN diff --git a/gitlab-runner/Dockerfile b/gitlab-runner/Dockerfile index ba94178..87b3f88 100644 --- a/gitlab-runner/Dockerfile +++ b/gitlab-runner/Dockerfile @@ -10,4 +10,5 @@ RUN echo \ $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null RUN apt-get update --yes RUN apt-get install --yes docker-ce docker-ce-cli containerd.io docker-compose-plugin -RUN chmod 777 /etc \ No newline at end of file +RUN mkdir /etc/builds/ +RUN chmod 777 /etc/builds \ No newline at end of file