2024-04-07 16:03:28 +01:00
|
|
|
steps:
|
2024-04-07 17:27:05 +01:00
|
|
|
|
2024-04-10 07:08:39 +01:00
|
|
|
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.1
|
|
|
|
settings:
|
|
|
|
base_url: https://git.kemitix.net
|
|
|
|
api_key:
|
|
|
|
from_secret: FORGEJO_RELEASE_PLUGIN
|
|
|
|
target: main
|
|
|
|
prerelease: true
|
|
|
|
|
2024-04-07 16:03:28 +01:00
|
|
|
docker-build:
|
2024-04-07 17:27:05 +01:00
|
|
|
when:
|
|
|
|
- event: tag
|
|
|
|
ref: refs/tags/v*
|
2024-04-10 07:08:39 +01:00
|
|
|
# INFO: https://woodpecker-ci.org/plugins/Docker%20Buildx
|
2024-04-07 16:03:28 +01:00
|
|
|
image: docker.io/woodpeckerci/plugin-docker-buildx:3.2.1
|
|
|
|
settings:
|
|
|
|
username: kemitix
|
|
|
|
repo: git.kemitix.net/kemitix/git-next
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
build_args:
|
|
|
|
- CARGO_PROFILE=release
|
|
|
|
- CARGO_TARGET=release
|
|
|
|
auto_tag: true
|
|
|
|
dry-run: false # push to remote repo
|
|
|
|
registry: git.kemitix.net
|
|
|
|
password:
|
|
|
|
from_secret: woodpecker-docker-push
|