Skip to content

Commit

Permalink
feat(packages): Add Harbor CLI
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
  • Loading branch information
EyeCantCU committed Apr 5, 2024
1 parent ccc5ca2 commit 5167fdc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions harbor-cli.yaml
@@ -0,0 +1,36 @@
package:
name: harbor-cli
version: 0.0.1
epoch: 0
description: Official Harbor CLI
copyright:
- license: Apache-2.0
dependencies:
runtime:
- ca-certificates-bundle

pipeline:
- uses: git-checkout
with:
expected-commit: 869986ac0d9444b4f96f85d0d9350ee8e3688780
repository: https://github.com/goharbor/harbor-cli
tag: v${{package.version}}

- uses: go/build
with:
packages: ./cmd/harbor
output: harbor

- uses: strip

test:
pipeline:
- runs: |
harbor version
harbor help
update:
enabled: true
github:
identifier: goharbor/harbor-cli
strip-prefix: v

0 comments on commit 5167fdc

Please sign in to comment.