Skip to content

Commit e778a21

Browse files
fix after reviews
Signed-off-by: Rakshit Gondwal <rakshit.gondwal@chainguard.dev>
1 parent f242ec4 commit e778a21

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cis-operator.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ pipeline:
2222
- uses: go/build
2323
with:
2424
packages: .
25-
tags: netgo,osusergo
2625
ldflags: |
2726
-X github.com/rancher/cis-operator.Version=${{package.version}}
28-
-X github.com/rancher/cis-operator.GitCommit=$(git rev-parse HEAD)
27+
-X github.com/rancher/cis-operator.GitCommit=$(git rev-parse --short HEAD)
2928
output: cis-operator
3029

3130
update:
@@ -69,4 +68,4 @@ test:
6968
Starting /v1, Kind=ConfigMap controller
7069
Starting batch/v1, Kind=Job controller
7170
post: |
72-
curl -sfSL http://localhost:8080/metrics
71+
curl -sfSL http://localhost:8080/metrics | grep go_gc_duration_seconds

0 commit comments

Comments
 (0)