Compare commits
10 Commits
9f59c7190c
...
2b4bd176ab
Author | SHA1 | Date | |
---|---|---|---|
2b4bd176ab | |||
c7303297d9 | |||
e1c95fe3c4 | |||
92f6bffa31 | |||
49ffa0007b | |||
582b4443ab | |||
2b9bf26679 | |||
e93e82375b | |||
5ea93df262 | |||
ff5b932cfc |
@ -138,10 +138,15 @@ services:
|
||||
order: start-first
|
||||
|
||||
gitea-runner:
|
||||
image: gitea/act_runner:nightly-dind-rootless
|
||||
image: mathwave/sprint-repo:gitea-runner
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /sprint-data:/sprint-data
|
||||
environment:
|
||||
GITEA_INSTANCE_URL: https://gitea.sprinthub.ru/
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: $REGISTRATION_TOKEN_DEV
|
||||
GITEA_RUNNER_NAME: dev
|
||||
GITEA_RUNNER_LABELS: dev
|
||||
deploy:
|
||||
mode: replicated
|
||||
placement:
|
||||
|
@ -170,10 +170,15 @@ services:
|
||||
order: start-first
|
||||
|
||||
gitea-runner:
|
||||
image: gitea/act_runner:nightly-dind-rootless
|
||||
image: mathwave/sprint-repo:gitea-runner
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /sprint-data:/sprint-data
|
||||
environment:
|
||||
GITEA_INSTANCE_URL: https://gitea.sprinthub.ru/
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: $REGISTRATION_TOKEN_PROD
|
||||
GITEA_RUNNER_NAME: prod
|
||||
GITEA_RUNNER_LABELS: prod
|
||||
deploy:
|
||||
mode: replicated
|
||||
placement:
|
||||
|
@ -28,6 +28,8 @@ build:
|
||||
- docker push mathwave/sprint-repo:sprint-infra-nginx-dev
|
||||
- docker build -t mathwave/sprint-repo:sprint-infra-nginx-prod nginx/nginx-prod
|
||||
- docker push mathwave/sprint-repo:sprint-infra-nginx-prod
|
||||
- docker build -t mathwave/sprint-repo:gitea-runner gitea-runner
|
||||
- docker push mathwave/sprint-repo:gitea-runner
|
||||
|
||||
deploy-dev:
|
||||
stage: deploy-dev
|
||||
|
5
gitea-runner/Dockerfile
Normal file
5
gitea-runner/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM gitea/act_runner:nightly
|
||||
|
||||
RUN apk add docker
|
||||
RUN apk add git
|
||||
RUN apk add --no-cache nodejs
|
Loading…
Reference in New Issue
Block a user