Skip to content

Commit baec556

Browse files
authored
Merge pull request #4809 from richardcase/fix_build
🐛 fix: staging image build failed due to toolchain directive
2 parents 1b49010 + a5e5acb commit baec556

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

cloudbuild.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
timeout: 3000s
33
options:
44
substitution_option: ALLOW_LOOSE
5+
machineType: 'E2_HIGHCPU_8'
56
steps:
6-
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20220609-2e4c91eb7e'
7+
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20230522-312425ae46'
78
entrypoint: make
89
env:
910
- DOCKER_CLI_EXPERIMENTAL=enabled
1011
- TAG=$_GIT_TAG
1112
- PULL_BASE_REF=$_PULL_BASE_REF
12-
args:
13-
- release-staging
13+
- DOCKER_BUILDKIT=1
14+
args: ['release-staging', '-j', '8', '-O']
1415
substitutions:
1516
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
1617
# can be used as a substitution

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module sigs.k8s.io/cluster-api-provider-aws/v2
22

33
go 1.21
44

5-
toolchain go1.21.7
6-
75
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.5.3
86

97
require (

hack/tools/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module sigs.k8s.io/cluster-api-provider-aws/hack/tools
22

33
go 1.21
44

5-
toolchain go1.21.7
6-
75
require (
86
github.com/a8m/envsubst v1.4.2
97
github.com/ahmetb/gen-crd-api-reference-docs v0.3.0

0 commit comments

Comments
 (0)