init
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Simon Vieille 2024-07-22 10:36:51 +02:00
commit 91e551f6d5
Signed by: deblan
GPG key ID: 579388D585F70417
12 changed files with 388 additions and 0 deletions

32
.woodpecker/build.yml Normal file
View file

@ -0,0 +1,32 @@
when:
- event: [pull_request, tag]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- feature/*
- release/*
- renovate/*
variables:
- &golang_image 'golang:1.22'
steps:
"Add vendor":
image: *golang_image
commands:
- go mod vendor
"Run build":
image: *golang_image
commands:
- go build
"Publish":
image: plugins/gitea-release
settings:
api_key:
from_secret: gitnet_api_key
base_url: https://gitnet.fr
files: ./expiration-check
when:
event: [tag]