Drone plugins > Gitea Release
gitea.svg

Gitea Release

by drone-plugins


The gitea-release plugin is used to publish files and artifacts to Gitea Release.

Example

kind: pipeline
name: default

steps:
- name: gitea_release
  image: plugins/gitea-release
  settings:
    api_key: xxxxxxxx
    base_url: https://your.gitea.tld
    files: dist/*

Properties

  • api_key

    stringrequired

    Gitea API key

    Default: none

  • base_url

    stringrequired

    Gitea base URL

    Default: none

  • files

    arrayrequired

    files to upload to Gitea Release, globs are allowed.

    Default: none

  • file_exists

    stringoptional

    what to do if an file asset already exists, supported values - overwrite, skip and fail.

    Default: overwrite

  • checksum

    stringoptional

    checksum takes hash methods to include in your Gitea release for the files specified. Supported hash methods include - md5, sha1, sha256, sha512, adler32, and crc32.

    Default: none

  • draft

    booleanoptional

    draft release

    Default: false

  • prerelease

    booleanoptional

    prerelease release

    Default: false

  • note

    stringoptional

    file or string with notes for the release

    Default: none

  • title

    stringoptional

    file or string for the title shown in the gitea release

    Default: none

  • insecure

    booleanoptional

    visit base_url via insecure https protocol

    Default: false