Skip to content

Commit 2828a52

Browse files
Merge branch 'main' into fix-release
2 parents 845908f + 0f325b1 commit 2828a52

4 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
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

.github/workflows/release.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Release
22

33
on:
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*'
@@ -51,7 +56,6 @@ jobs:
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 }}

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
8686
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
8787
github.com/google/go-github/v57 v57.0.0 h1:L+Y3UPTY8ALM8x+TV0lg+IEBI+upibemtBD8Q9u7zHs=
8888
github.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=
8990
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
9091
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
9192
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=

0 commit comments

Comments
 (0)