Skip to content

Commit 008c09e

Browse files
author
Paulo Gomes
committed
fuzz: Ensure Go 1.18 for fuzz image
- Upgrade fuzz container to Go 1.18. - Upgrade worker to Go 1.18. Signed-off-by: Paulo Gomes <[email protected]>
1 parent 025154d commit 008c09e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/cifuzz.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v3
16+
- name: Setup Go
17+
uses: actions/setup-go@v3
18+
with:
19+
go-version: 1.18.x
1620
- name: Restore Go cache
1721
uses: actions/cache@v3
1822
with:

tests/fuzz/Dockerfile.builder

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
FROM golang:1.18 AS go
2+
13
FROM gcr.io/oss-fuzz-base/base-builder-go
24

5+
# ensures golang 1.18 to enable go native fuzzing.
6+
COPY --from=go /usr/local/go /usr/local/
7+
38
RUN apt-get update && apt-get install -y cmake pkg-config
49

510
COPY ./ $GOPATH/src/github.com/fluxcd/image-automation-controller/

0 commit comments

Comments
 (0)