Skip to content

Commit d2559be

Browse files
committed
update CI config
1 parent 73dda9c commit d2559be

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

.woodpecker/.dry-run.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
pipeline:
1+
steps:
22
dry-run:
33
image: woodpeckerci/plugin-docker-buildx
44
settings:
55
platforms: linux/amd64, linux/arm64
66
repo: "${CI_REPO_OWNER##mu-}/${CI_REPO_NAME}"
77
dry-run: true
8-
secrets: [docker_username, docker_password]
98
when:
109
event: push

.woodpecker/.latest.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pipeline:
1+
steps:
22
changelog:
33
image: bitnami/git
44
commands:
@@ -11,8 +11,11 @@ pipeline:
1111
platforms: linux/amd64, linux/arm64
1212
repo: "${CI_REPO_OWNER##mu-}/${CI_REPO_NAME}"
1313
tags: latest
14-
secrets: [docker_username, docker_password]
14+
username:
15+
from_secret: docker_username
16+
password:
17+
from_secret: docker_password
1518
when:
16-
event: push
17-
branch: [master, main]
19+
- event: push
20+
branch: [master, main]
1821

.woodpecker/.pr.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
pipeline:
1+
steps:
22
changelog:
33
image: bitnami/git
44
commands:
55
- git fetch origin master
66
- git diff -wb --name-only origin/master..HEAD | grep CHANGELOG.md
77
failure: ignore
8-
build-and-push:
8+
build-and-push-feature:
99
image: woodpeckerci/plugin-docker-buildx
1010
settings:
1111
platforms: linux/amd64, linux/arm64
1212
repo: "${CI_REPO_OWNER##mu-}/${CI_REPO_NAME}"
1313
tags: "feature-${CI_COMMIT_BRANCH##feature/}"
14-
secrets: [docker_username, docker_password]
14+
username:
15+
from_secret: docker_username
16+
password:
17+
from_secret: docker_password
1518
when:
16-
event: push
17-
branch: feature/*
19+
- event: push
20+
branch: [feature/*]

.woodpecker/.release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
pipeline:
1+
steps:
22
build-and-push-release:
33
image: woodpeckerci/plugin-docker-buildx
44
settings:
55
platforms: linux/amd64, linux/arm64
66
repo: "${CI_REPO_OWNER##mu-}/${CI_REPO_NAME}"
77
tags: "${CI_COMMIT_TAG##v}"
8-
secrets: [docker_username, docker_password]
8+
username:
9+
from_secret: docker_username
10+
password:
11+
from_secret: docker_password
912
when:
10-
event: tag
11-
tag: v*
13+
- event: tag
14+
ref: refs/tags/v*

0 commit comments

Comments
 (0)