Skip to content

Commit

Permalink
fix the cve GHSA-v778-237x-gjrc
Browse files Browse the repository at this point in the history
Signed-off-by: Batuhan Apaydin <[email protected]>
  • Loading branch information
developer-guy committed Dec 14, 2024
1 parent 7eabc2a commit 10243be
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions opentelemetry-collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ environment:
- curl
- go
- openssf-compiler-options
- yq

pipeline:
- runs: |
Expand All @@ -30,11 +31,6 @@ pipeline:
tag: v${{package.version}}
expected-commit: 4ed80bbc4d9a6753ba6b959f5625a6f75fa1229c

- uses: go/bump
with:
deps: golang.org/x/[email protected]
modroot: ./internal/tools

- uses: go/build
with:
packages: .
Expand All @@ -44,6 +40,7 @@ pipeline:
- runs: |
set -x
# Use the builder to compile opentelemetry-collector
yq eval '.replaces += ["golang.org/x/crypto => golang.org/x/crypto v0.31.0"]' builder-config.yaml -i
${{targets.destdir}}/usr/bin/ocb --config=builder-config.yaml
install -Dm755 ./_build/otelcol "${{targets.destdir}}"/usr/bin/otelcol
Expand Down

0 comments on commit 10243be

Please sign in to comment.