# .woodpecker.yml steps: - name: Build the project image: golang:1.18 commands: - echo "Building the project" - go build -o build/my-app . - name: Release to Gitea image: woodpeckerci/plugin-gitea-release when: event: - tag # Trigger this step only on tags environment: - GITEA_URL=https://git.xyro.win - GITEA_TOKEN=${GITEA_TOKEN} # Ensure this is set in your Woodpecker secrets - REPO_NAME=MarioDB # Your repository name - TAG_NAME=${CI_COMMIT_REF} # Use the current commit ref (which is the tag name in this case) - ASSET_PATH=build/* # Path to your build artifacts