kind: pipeline name: default steps: - name: fetch image: docker:git commands: - git fetch --tags - name: release image: golang environment: GITEA_TOKEN: from_secret: GITEA_TOKEN commands: - curl -sL https://git.io/goreleaser | bash when: event: tag