Skip to content

Commit b6a5411

Browse files
committed
👷‍♂️ Try to make CI happy.
1 parent 18df7d7 commit b6a5411

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/main.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ jobs:
1212
name: Lint
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/setup-go@v3
16+
with:
17+
go-version: 1.17
18+
- uses: actions/checkout@v3
1619
- name: golangci-lint
17-
uses: golangci/golangci-lint-action@v2
20+
uses: golangci/golangci-lint-action@v3
1821
with:
19-
version: v1.33
20-
args: --timeout=5m
22+
version: latest
2123

2224
test:
2325
name: Test
@@ -27,7 +29,9 @@ jobs:
2729

2830
steps:
2931
- uses: actions/checkout@v2
30-
- uses: actions/setup-go@v2
32+
- uses: actions/setup-go@v3
33+
with:
34+
go-version: 1.17
3135
- name: Install Kubebuilder
3236
id: install-kubebuilder
3337
run: |

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.15 as builder
2+
FROM golang:1.17 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests
@@ -18,6 +18,7 @@ COPY controllers/ controllers/
1818
COPY utils/ utils/
1919
COPY webhook/ webhook/
2020
COPY http/ http/
21+
COPY stubs/ stubs/
2122

2223
# Build
2324
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -tags release -o manager main.go

0 commit comments

Comments
 (0)