kind: pipeline type: docker name: default steps: - name: Build image: golang commands: - go get github.com/bwmarrin/discordgo - go vet -v - go build - name: Run image: golang commands: - echo $SECRET_MESSAGE - (./Phasmobot -t $DISCORD_TOKEN) secrets: [discord_token, secret_message] when: branch: - deploy - name: gitea_release image: plugins/gitea-release settings: base_url: https://git.nightmare.haus api_key: from_secret: gitea_token files: ./Phasmobot checksum: - md5 - sha1 - sha256 - sha512 - adler32 - crc32 when: event: tag