diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 5fc58bac..7d28798e 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.21.9 + go-version: 1.22.5 - uses: actions/checkout@v3.3.0 with: fetch-depth: '0' diff --git a/.github/workflows/kind-action.yml b/.github/workflows/kind-action.yml index 1ab0368b..5b2c36d4 100644 --- a/.github/workflows/kind-action.yml +++ b/.github/workflows/kind-action.yml @@ -29,7 +29,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 # default version of go is 1.10 with: - go-version: 1.21.9 + go-version: 1.22.5 - name: Install Carvel Tools uses: carvel-dev/setup-action@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ceacc3fb..be603ba2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.21.9 + go-version: 1.22.5 - name: Install Carvel Tools uses: carvel-dev/setup-action@v2 with: diff --git a/.github/workflows/test-gh.yml b/.github/workflows/test-gh.yml index 54c6e20d..a02faa04 100644 --- a/.github/workflows/test-gh.yml +++ b/.github/workflows/test-gh.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.21.9 + go-version: 1.22.5 - name: Check out code into the Go module directory uses: actions/checkout@v2 with: diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 73b39357..f5cb82c0 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -69,7 +69,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.21.9 + go-version: 1.22.5 - name: Build the secretgen-controller artifacts run: | curl -L https://carvel.dev/install.sh | bash diff --git a/Dockerfile b/Dockerfile index 40b66695..916a3a7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21.9 AS deps +FROM --platform=$BUILDPLATFORM golang:1.22.5 AS deps ARG TARGETOS TARGETARCH SGCTRL_VER=development WORKDIR /workspace