gitea-package/.woodpecker/test-image.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

when:
- event: [pull_request, tag, cron]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
depends_on:
- "ci"
steps:
2024-05-14 10:01:17 +02:00
next:
image: gitea.ocram85.com/plugins/gitea-package:next
pull: true
2024-05-14 08:21:25 +02:00
secrets: [ gitea_user, gitea_passwd]
settings:
2024-05-14 08:21:25 +02:00
user:
from_secret: gitea_user
password:
from_secret: gitea_passwd
debug: "true"
2024-05-14 08:24:18 +02:00
owner: "plugins"
package_name: "dummy_package"
package_version: "0.1.0"
2024-05-14 08:21:25 +02:00
file_source: "./README.md"
file_name: "readme.md"
update: "true"
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}
2024-05-14 10:01:17 +02:00
next-nodebug:
image: gitea.ocram85.com/plugins/gitea-package:next
pull: true
secrets: [ gitea_user, gitea_passwd]
settings:
user:
from_secret: gitea_user
password:
from_secret: gitea_passwd
owner: "plugins"
package_name: "dummy_package"
package_version: "0.1.0"
file_source: "./README.md"
file_name: "readme.md"
update: "true"
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}