Sign inSign up

thundersquared/gitea-release-attach

By thundersquared

•Updated over 6 years ago

📦Easy artifact uploads for Gitlab Releases

Image
0

589

thundersquared/gitea-release-attach repository overview

⁠Gitea Release Attach

GRA was built to facilitate uploading artifacts to Gitea Releases upon CI builds.

⁠Installation

Download the executable binary and run it, or compile it yourself with:

go install
go build

⁠Usage

You can simply launch the binary with -h arg to view required params.

Gitea username and password can be either passed as params, or set as environment variables.

Params:

/usr/bin/gitea-release-attach -u username -p password ...

Environment:

export GITEA_USER=username
export GITEA_PASS=password
/usr/bin/gitea-release-attach ...

These are some other params this tool supports:

ShortParamRequiredPurpose
-u--useryes [1]Set username for login
-p--passyes [1]Set password for login
-r--repoyesSet target repository
-t--tagyesSet target repository tag
-d--deletenoClean existing attachments on Target Release
-f--attachmentyesFile to be uploaded [2]

[1] Required if not set as Environment Variable. [2] Can be specified multiple times, for uploading multiple files to the same release.

Tag summary

Content type

Image

Digest

Size

6.9 MB

Last updated

over 6 years ago

docker pull thundersquared/gitea-release-attach