Skip to content

Commit 4de8b2c

Browse files
author
Jose Luis Vazquez Gonzalez
committed
Upgrade to Go 1.18
Signed-off-by: Jose Luis Vazquez Gonzalez <[email protected]>
1 parent a3c19c9 commit 4de8b2c

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v1
2727
with:
28-
go-version: 1.17.x
28+
go-version: 1.18.x
2929
- name: Release
3030
uses: goreleaser/goreleaser-action@v2
3131
with:

DEVELOPMENT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Development
22

3-
The Asset Relocation Tool for Kubernetes is built with Golang 1.17.
3+
The Asset Relocation Tool for Kubernetes is built with Golang 1.18.
44

55
### Running tests
66

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ default: build
1010
.PHONY: deps-go-binary deps-counterfeiter deps-ginkgo deps-golangci-lint
1111

1212
GO_VERSION := $(shell go version)
13-
GO_VERSION_REQUIRED = go1.17
13+
GO_VERSION_REQUIRED = go1.18
1414
GO_VERSION_MATCHED := $(shell go version | grep $(GO_VERSION_REQUIRED))
1515

1616
deps-go-binary:

ci/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM harbor-repo.vmware.com/dockerhub-proxy-cache/library/photon:3.0-20210716
55
WORKDIR /
66

77
# Install required packages
8-
RUN yum -y install build-essential coreutils gawk gcc git go-1.17.2-1.ph3.x86_64 jq make
8+
RUN yum -y install build-essential coreutils gawk gcc git go-1.18.2-1.ph3.x86_64 jq make
99
ENV PATH="/root/go/bin:${PATH}"
1010

1111
# Install go packages used for building and testing

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/vmware-tanzu/asset-relocation-tool-for-kubernetes
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/avast/retry-go v3.0.0+incompatible

test/registry/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright 2021 VMware, Inc.
22
# SPDX-License-Identifier: BSD-2-Clause
3-
FROM golang:1.17 as compiled
3+
FROM golang:1.18 as compiled
44
RUN cd /go && \
55
GO111MODULE=off go get -u filippo.io/mkcert && \
66
cd src/filippo.io/mkcert && \

0 commit comments

Comments
 (0)