Skip to content

Commit

Permalink
Merge pull request #4809 from richardcase/fix_build
Browse files Browse the repository at this point in the history
馃悰 fix: staging image build failed due to toolchain directive
  • Loading branch information
k8s-ci-robot committed Feb 22, 2024
2 parents 1b49010 + a5e5acb commit baec556
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 4 additions & 3 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
timeout: 3000s
options:
substitution_option: ALLOW_LOOSE
machineType: 'E2_HIGHCPU_8'
steps:
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20220609-2e4c91eb7e'
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20230522-312425ae46'
entrypoint: make
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- TAG=$_GIT_TAG
- PULL_BASE_REF=$_PULL_BASE_REF
args:
- release-staging
- DOCKER_BUILDKIT=1
args: ['release-staging', '-j', '8', '-O']
substitutions:
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
# can be used as a substitution
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module sigs.k8s.io/cluster-api-provider-aws/v2

go 1.21

toolchain go1.21.7

replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.5.3

require (
Expand Down
2 changes: 0 additions & 2 deletions hack/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module sigs.k8s.io/cluster-api-provider-aws/hack/tools

go 1.21

toolchain go1.21.7

require (
github.com/a8m/envsubst v1.4.2
github.com/ahmetb/gen-crd-api-reference-docs v0.3.0
Expand Down

0 comments on commit baec556

Please sign in to comment.