Categorygithub.com/akkuman/blob-uploader
module
0.2.1
Repository: https://github.com/akkuman/blob-uploader.git
Documentation: pkg.go.dev

# README

Usage

go install github.com/akkuman/blob-uploader/cmd/...
$ ./blob-uploader upload -h
upload file bolb to github packages

ref: https://github.com/Homebrew/brew/blob/b753315b0b1e78b361612bf4985502bf9dca5582/Library/Homebrew/github_packages.rb#L196-L428

Usage:
  blob-uploader upload [flags]

Flags:
  -h, --help              help for upload
  -p, --password string   the password of registry
  -r, --ref-name string   the ref that you will push, exmaple: ghcr.io/example/hello:1.2.0
  -f, --tgz-file string   file path for tgz which will be uploaded
  -u, --username string   the username of registry

it also supports config from environment, for example, the above command line arguments can be replaced with the following environment variables.

export BUL_USERNAME=akkuman
export BUL_PASSWORD=<ghp_token>
export BUL_REF_NAME=ghcr.io/example/hello:1.2.0
export BUL_TGZ_FILE=/tmp/example.tgz

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author