You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
i3-blocks-go/.woodpecker.yml

24 lines
503 B

pipeline:
vendor:
image: golang:1.18
commands:
- go mod vendor
build:
image: golang:1.18
commands:
- make
- mkdir release
- tar -c -z -f release/build-amd64.tar.gz build/linux-amd64/
- tar -c -z -f release/build-arm64.tar.gz build/linux-arm64/
release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitnet_api_key
base_url: https://gitnet.fr
note:
files: release/*
when:
event: [tag]