-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
Update golang version to 1.17
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
build_root_image: | ||
name: release | ||
namespace: openshift | ||
tag: golang-1.16 | ||
tag: golang-1.17 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.16 AS builder | ||
FROM registry.ci.openshift.org/openshift/release:golang-1.17 AS builder | ||
WORKDIR /go/src/sigs.k8s.io/cluster-api-provider-aws | ||
COPY . . | ||
# VERSION env gets set in the openshift/release image and refers to the golang version, which interfers with our own | ||
RUN unset VERSION \ | ||
&& GOPROXY=off NO_DOCKER=1 make build | ||
|
||
FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base | ||
FROM registry.ci.openshift.org/openshift/origin-v4.0:base | ||
COPY --from=builder /go/src/sigs.k8s.io/cluster-api-provider-aws/bin/machine-controller-manager / | ||
COPY --from=builder /go/src/sigs.k8s.io/cluster-api-provider-aws/bin/termination-handler / |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build tools | ||
// +build tools | ||
|
||
// Official workaround to track tool dependencies with go modules: | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.