-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy path.woodpecker.yaml
More file actions
36 lines (32 loc) · 777 Bytes
/
.woodpecker.yaml
File metadata and controls
36 lines (32 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
when:
- event: [push, pull_request, manual, tag]
clone:
git:
image: woodpeckerci/plugin-git
settings:
tags: true
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: generate-tags
image: ghcr.io/abh/woodpecker-docker-tags-plugin:0.2.1-abh
settings:
tags: |
branch
sha
edge -v latest
raw -v build-${CI_PIPELINE_NUMBER}
semver --auto
- name: docker
image: woodpeckerci/plugin-kaniko
settings:
registry: harbor.ntppool.org
repo: ntppool/ntppool
cache: true
username:
from_secret: harbor_username
password:
from_secret: harbor_password
depends_on: [submodules, generate-tags]