Update .woodpecker/default.yml
This commit is contained in:
parent
2177311d64
commit
c6286c7c3e
1 changed files with 17 additions and 9 deletions
|
@ -1,11 +1,19 @@
|
||||||
steps:
|
# .woodpecker.yml
|
||||||
- name: test
|
pipeline:
|
||||||
image: alpine
|
build:
|
||||||
|
image: golang:1.18
|
||||||
commands:
|
commands:
|
||||||
- echo "Woodpecker is working!"
|
- echo "Building the project"
|
||||||
- uname -a
|
- go build -o build/my-app .
|
||||||
|
|
||||||
|
release:
|
||||||
|
image: woodpeckerci/plugin-gitea-release
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- tag
|
||||||
- pull_request
|
environment:
|
||||||
|
- GITEA_URL=https://git.xyro.win
|
||||||
|
- GITEA_TOKEN=${GITEA_TOKEN} # Make sure to set this in the Woodpecker secrets
|
||||||
|
- REPO_NAME=MarioDB
|
||||||
|
- TAG_NAME=${CI_COMMIT_REF} # Use the tag name
|
||||||
|
- ASSET_PATH=build/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue