switch to codeberg

This commit is contained in:
2025-10-30 23:32:53 +01:00
parent cce26c562b
commit ee26834054
18 changed files with 107 additions and 160 deletions

View File

@@ -22,7 +22,6 @@ steps:
event: [push]
image: golang:${goversion}
commands:
#- go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.5.0
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
- golangci-lint --version
- golangci-lint run ./...

View File

@@ -4,24 +4,12 @@ labels:
platform: linux/amd64
steps:
build:
goreleaser:
image: goreleaser/goreleaser
when:
event: [tag]
image: golang:1.24
commands:
- go get
- ./mkrel.sh epuppy v1-${CI_COMMIT_SHA:0:8}
#- ./mkrel.sh epuppy ${CI_COMMIT_TAG}
publish:
when:
event: [tag]
image: woodpeckerci/plugin-release
settings:
files:
- 'releases/epuppy-*-v1-${CI_COMMIT_SHA:0:8}'
api_key:
environment:
GITEA_TOKEN:
from_secret: DEPLOY_TOKEN
target: main
draft: true
generate-release-notes: true
commands:
- goreleaser release --clean --verbose