gitea-package/.woodpecker/test-image.yml
OCram85 ee1695329e
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/test-image Pipeline was successful
add upload command (#3)
### 📖 Summary

- adds basic upload step

### 📑 Test Plan

 CI pipeline tests (Default)

### 💬 Details

_No response_

### 📚 Additional Notes

_No response_

Reviewed-on: #3
2024-05-14 10:24:21 +02:00

48 lines
1.1 KiB
YAML

when:
- event: [pull_request, tag, cron]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
depends_on:
- "ci"
steps:
next:
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
debug: "true"
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}
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}