Skip to content

Releases: qcserestipy/harbor-cli-setup

v0.0.2: Improve usability

14 May 16:27

Choose a tag to compare

v0.0.1: First Light

14 May 13:49

Choose a tag to compare

Harbor CLI Setup v0.0.1

First release of the Harbor CLI Setup GitHub Action.

What it does

Sets up the Harbor CLI in your GitHub Actions workflow. By default it downloads the pre-built binary for the current runner platform and verifies its SHA-256 checksum against the official checksums.txt before adding it to PATH. Optionally, you can build any release tag, latest, or main directly from source.

Usage

- uses: qcserestipy/harbor-cli-setup@v0.0.1
  with:
    version: 'latest'          # or a tag like v0.0.19, or 'main'
    build_from_source: 'false' # set to 'true' to build from source (requires Go)

Inputs

Input Default Description
version latest Semver tag (e.g. v0.0.19), latest, or main
build_from_source false Build from source instead of downloading a binary

Outputs

Output Description
version The resolved version/tag that was installed or built
path Full path to the harbor-cli binary

Supported platforms

OS Architecture
Linux amd64, arm64
macOS amd64 (Intel), arm64 (Apple Silicon)
Windows amd64, arm64

Notes

  • build_from_source: 'true' requires Go to be set up in your workflow before this action runs (e.g. via actions/setup-go)
  • main as a version is only valid when build_from_source: 'true'

What's Changed

New Contributors

Full Changelog: https://github.com/qcserestipy/harbor-cli-setup/commits/v0.0.1