diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 5fabad35..c4703583 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.6 + go-version: 1.22.2 - 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 2e3a3570..f3975b89 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.6 + go-version: 1.22.2 - name: Install Carvel Tools uses: carvel-dev/setup-action@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 247a227c..3895bf88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.21.6 + go-version: 1.22.2 - name: Set up Cosign uses: sigstore/cosign-installer@v3 - name: Install Carvel Tools diff --git a/.github/workflows/test-gh.yml b/.github/workflows/test-gh.yml index 95590f72..2219a1b2 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.6 + go-version: 1.22.2 - 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 82ef06a0..5674d3bf 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.6 + go-version: 1.22.2 - name: Build the secretgen-controller artifacts run: | curl -L https://carvel.dev/install.sh | bash diff --git a/Dockerfile b/Dockerfile index 738fda5a..6d61937f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21.6 AS deps +FROM --platform=$BUILDPLATFORM golang:1.22.2 AS deps ARG TARGETOS TARGETARCH SGCTRL_VER=development WORKDIR /workspace diff --git a/go.mod b/go.mod index ae9487ae..3e63b23d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/vmware-tanzu/carvel-secretgen-controller -go 1.21 +go 1.22 require ( github.com/cloudfoundry/bosh-utils v0.0.362 // indirect