This commit is contained in:
parent
7a17b0d22c
commit
1ba7eb556e
34
.drone.yml
34
.drone.yml
@ -2,15 +2,35 @@ kind: pipeline
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: git-modules
|
- name: event-gen
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git submodule update --recursive --remote --init
|
|
||||||
- name: docker
|
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: repo.shimun.net/shimun/wireguard-user
|
repo: repo.shimun.net/shimun/wireguard-user::build-event-gen
|
||||||
registry: repo.shimun.net
|
registry: repo.shimun.net
|
||||||
cache_from: repo.shimun.net/shimun/wireguard-user
|
cache_from: ["repo.shimun.net/shimun/wireguard-user:build-event-gen"]
|
||||||
|
target: eventbuild
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
- name: git-modules
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git submodule update --recursive --remote --init
|
||||||
|
- name: wireguard-go
|
||||||
|
image: plugins/docker
|
||||||
|
repo: repo.shimun.net/shimun/wireguard-user:build-wireguard-go
|
||||||
|
registry: repo.shimun.net
|
||||||
|
cache-from: ["repo.shimun.net/shimun/wireguard-user:build-wireguard-go", "repo.shimun.net/shimun/wireguard-user:build-event-gen"]
|
||||||
|
target: build
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
- name: package
|
||||||
|
image: plugins/docker
|
||||||
|
repo: repo.shimun.net/shimun/wireguard-user
|
||||||
|
registry: repo.shimun.net
|
||||||
|
cache-from: ["repo.shimun.net/shimun/wireguard-user:build-wireguard-go", "repo.shimun.net/shimun/wireguard-user:build-event-gen", "repo.shimun.net/shimun/wireguard-user"]
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user