Woodpecker server and agent always have the same version

https://github.com/woodpecker-ci/woodpecker/blob/master/.woodpecker/docker.yml
This commit is contained in:
Sam A. 2023-01-22 19:21:02 +01:00
parent abba932693
commit ae52815876
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 3 additions and 4 deletions

View file

@ -167,8 +167,7 @@ services:
file: woodpecker.yml file: woodpecker.yml
domain: "ci.{{ base_domain }}" domain: "ci.{{ base_domain }}"
volume_folder: "{{ volume_root_folder }}/woodpecker" volume_folder: "{{ volume_root_folder }}/woodpecker"
server_version: v0.15 version: v0.15
agent_version: v0.15
mailu: mailu:
file: mailu.yml file: mailu.yml

View file

@ -8,7 +8,7 @@
version: "3.8" version: "3.8"
services: services:
server: server:
image: "woodpeckerci/woodpecker-server:{{ services.woodpecker.server_version }}" image: "woodpeckerci/woodpecker-server:{{ services.woodpecker.version }}"
restart: always restart: always
networks: networks:
- default - default
@ -28,7 +28,7 @@
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
agent: agent:
image: "woodpeckerci/woodpecker-agent:{{ services.woodpecker.agent_version }}" image: "woodpeckerci/woodpecker-agent:{{ services.woodpecker.version }}"
restart: always restart: always
volumes: volumes:
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"