-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.woodpecker.yml
More file actions
52 lines (48 loc) · 1.34 KB
/
Copy path.woodpecker.yml
File metadata and controls
52 lines (48 loc) · 1.34 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
matrix:
include:
- BASE: unstable-slim
TAGS: '[ "unstable" ]'
PLATFORMS: linux/386,linux/amd64
- BASE: trixie-slim
TAGS: '[ "trixie", "1.4", "latest" ]'
PLATFORMS: linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8
- BASE: bookworm-slim
TAGS: '[ "bookworm", "1.2", "oldstable" ]'
PLATFORMS: linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8
variables:
- &build-settings
repo: nold360/borgserver,ghcr.io/nold360/borgserver
tags: ${TAGS}
platforms: ${PLATFORMS}
build_args:
BASE_IMAGE: debian:${BASE}
steps:
- name: test-build
image: woodpeckerci/plugin-docker-buildx
settings:
dry-run: true
<<: *build-settings
when:
- event: [manual, push]
branch:
exclude: [ master ]
- name: build-and-release
image: woodpeckerci/plugin-docker-buildx
settings:
<<: *build-settings
logins:
- registry: https://index.docker.io/v1/
username:
from_secret: docker_username
password:
from_secret: docker_password
- registry: https://ghcr.io/v1/
repo: ghcr.io/nold360/borgserver
username:
from_secret: docker_username
password:
from_secret: gh_push_token
when:
- branch: master
event: [cron, manual, push]