Skip to content

Commit

Permalink
release and build is succesfully done
Browse files Browse the repository at this point in the history
Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated goreleaser and workflow

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated github workflow

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated github workflow

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated github workflow

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated github workflow

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated github workflow

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated github workflow

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated gorelaser and syft version

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>

updated workflow

Signed-off-by: bishal7679 <bishalhnj127@gmail.com>
  • Loading branch information
bishal7679 committed Jul 23, 2024
1 parent 98d9e75 commit 682cd1e
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 479 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,17 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.22.5"
cache: true
-
name: Call Dagger Function
uses: dagger/dagger-for-github@v5

- name: Call Dagger Function
uses: dagger/dagger-for-github@v6.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: "latest"
verb: call
# assumes a Go project
# modify to use different function(s) as needed
module: github.com/bishal7679/harbor-cli@v0.6.0
args: release --directory-arg=. --github-token=${{ env.GITHUB_TOKEN }}
# cloud-token:
13 changes: 9 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,17 @@ jobs:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.22.5"
cache: true

- name: Run Dagger Pull Request
- name: Call Dagger Function
uses: dagger/dagger-for-github@v6.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: go run ci/release.go pull-request
with:
version: "latest"
verb: call
module: github.com/bishal7679/harbor-cli@v0.6.0
args: pull-request --directory-arg=. --github-token=${{ env.GITHUB_TOKEN }}
84 changes: 0 additions & 84 deletions build.go

This file was deleted.

14 changes: 0 additions & 14 deletions ci/go.mod

This file was deleted.

114 changes: 0 additions & 114 deletions ci/go.sum

This file was deleted.

Loading

0 comments on commit 682cd1e

Please sign in to comment.