# .woodpecker.yml pipeline: build: image: golang:1.18 commands: - echo "Building the project" - go build -o build/my-app . release: image: woodpeckerci/plugin-gitea-release when: event: - tag 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/*