package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
for what
- this project used to woodpecker plugin
Contributing
We welcome community contributions to this project.
Please read Contributor Guide for more information on how to get started.
请阅读有关 贡献者指南 以获取更多如何入门的信息
Features
- push to gitea Go Package Registry
- use TempDir to generate go mod zip file
- support dry-run mode
- auto get gitea base URL by
CI_FORGE_URL
- support Monorepo
- use
settings.gitea-publish-golang-path-go
to publish dir go.mod one by one
- out publish info json file default
dist/go-mod-upload.json
- use
settings.gitea-publish-golang-update-result-root-path
to change out root path, default dist
- use
settings.gitea-publish-golang-update-result-file-name
to change out file name, default go-mod-upload.json
- more perfect test case coverage
- more perfect benchmark case
usage
-
use this template, replace list below and add usage
github.com/woodpecker-kit/woodpecker-gitea-publisher-golang
to your package name
woodpecker-kit
to your owner name
woodpecker-gitea-publisher-golang
to your project name
-
use github action for this workflow push to docker hub, must add
- variables
ENV_DOCKERHUB_OWNER
user of docker hub
- variables
ENV_DOCKERHUB_REPO_NAME
repo name of docker hub
- secrets
DOCKERHUB_TOKEN
token of docker hub user from hub.docker
-
check docker-bake.hcl
config, change to your docker image
-
if you use wd_steps_transfer
just add .woodpecker_kit.steps.transfer
at git ignore
-
change code start with // change or remove
workflow usage
Notice
Documentation
¶
Source Files
¶
Directories
¶
cmd
|
|
|
|
|
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.