forked from kemitix/git-next
29 lines
825 B
YAML
29 lines
825 B
YAML
steps:
|
|
publish-to-forgejo:
|
|
when:
|
|
- event: tag
|
|
ref: refs/tags/v*
|
|
# INFO: https://woodpecker-ci.org/plugins/Gitea%20Release
|
|
image: docker.io/woodpeckerci/plugin-gitea-release:0.3.2
|
|
settings:
|
|
base_url: https://git.kemitix.net
|
|
api_key:
|
|
from_secret: FORGEJO_RELEASE_PLUGIN
|
|
target: main
|
|
prerelease: true
|
|
|
|
docker-build:
|
|
when:
|
|
- event: tag
|
|
ref: refs/tags/v*
|
|
# INFO: https://woodpecker-ci.org/plugins/Docker%20Buildx
|
|
image: docker.io/woodpeckerci/plugin-docker-buildx:4.0.0
|
|
settings:
|
|
username: kemitix
|
|
repo: git.kemitix.net/kemitix/git-next
|
|
dockerfile: Dockerfile
|
|
auto_tag: true
|
|
dry-run: false # push to remote repo
|
|
registry: git.kemitix.net
|
|
password:
|
|
from_secret: woodpecker-docker-push
|