File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 run : make test
4747
4848 - name : Upload coverage reports
49- uses : codecov/codecov-action@v3
49+ uses : codecov/codecov-action@v5
5050 with :
5151 file : ./cover.out
5252 flags : unittests
Original file line number Diff line number Diff line change 11name : Release
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ tag :
7+ description : ' Tag to release (e.g., v1.0.0)'
8+ required : true
49 push :
510 tags :
611 - ' v*'
5156 - name : Extract version from tag
5257 id : version
5358 run : |
54- # Extract from GITHUB_REF for tag pushes
5559 TAG="${GITHUB_REF#refs/tags/}"
5660 VERSION="${TAG#v}"
5761 echo "version=$VERSION" >> $GITHUB_OUTPUT
@@ -133,6 +137,11 @@ jobs:
133137 username : ${{ github.actor }}
134138 password : ${{ secrets.GITHUB_TOKEN }}
135139
140+ - name : Prepare Image Name
141+ id : image_name
142+ run : |
143+ echo "name=${GITHUB_REPOSITORY,,}" >> $GITHUB_OUTPUT
144+
136145 - name : Package and push Helm chart to OCI registry
137146 run : |
138147 helm package chart --version ${{ steps.version.outputs.version }} --app-version ${{ steps.version.outputs.version }}
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ require (
88 github.com/go-logr/logr v1.4.3
99 github.com/golang-jwt/jwt/v5 v5.3.0
1010 github.com/google/go-github/v57 v57.0.0
11+ github.com/google/go-github/v74 v74.0.0
1112 github.com/stretchr/testify v1.11.1
1213 gopkg.in/yaml.v2 v2.4.0
14+ gopkg.in/yaml.v3 v3.0.1
1315 k8s.io/api v0.34.1
1416 k8s.io/apimachinery v0.34.1
1517 k8s.io/client-go v0.34.1
@@ -75,7 +77,6 @@ require (
7577 google.golang.org/protobuf v1.36.5 // indirect
7678 gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
7779 gopkg.in/inf.v0 v0.9.1 // indirect
78- gopkg.in/yaml.v3 v3.0.1 // indirect
7980 k8s.io/apiextensions-apiserver v0.34.0 // indirect
8081 k8s.io/component-base v0.34.0 // indirect
8182 k8s.io/klog/v2 v2.130.1 // indirect
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
8686github.com/google/go-cmp v0.7.0 /go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU =
8787github.com/google/go-github/v57 v57.0.0 h1:L+Y3UPTY8ALM8x+TV0lg+IEBI+upibemtBD8Q9u7zHs =
8888github.com/google/go-github/v57 v57.0.0 /go.mod h1:s0omdnye0hvK/ecLvpsGfJMiRt85PimQh4oygmLIxHw =
89+ github.com/google/go-github/v74 v74.0.0 /go.mod h1:ubn/YdyftV80VPSI26nSJvaEsTOnsjrxG3o9kJhcyak =
8990github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8 =
9091github.com/google/go-querystring v1.1.0 /go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU =
9192github.com/google/gofuzz v1.0.0 /go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg =
You can’t perform that action at this time.
0 commit comments