Skip to content

Commit

Permalink
feat(packages): Add Harbor CLI (#16368)
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeCantCU committed Apr 5, 2024
1 parent 9441323 commit a687f52
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions harbor-cli.yaml
@@ -0,0 +1,40 @@
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/bump
with:
deps: golang.org/x/net@v0.17.0

- 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 a687f52

Please sign in to comment.