Upgrade to Golang 1.20.4 and alpine 3.18.0
This commit is contained in:
parent
bcfed2e912
commit
b9e120278f
7 changed files with 13 additions and 13 deletions
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
|
@ -91,7 +91,7 @@ jobs:
|
|||
id: go
|
||||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.20.4'
|
||||
check-latest: true
|
||||
|
||||
- name: Run Lint
|
||||
|
@ -110,7 +110,7 @@ jobs:
|
|||
id: go
|
||||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.20.4'
|
||||
check-latest: true
|
||||
|
||||
- name: Run go-fmt
|
||||
|
@ -129,7 +129,7 @@ jobs:
|
|||
id: go
|
||||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.20.4'
|
||||
check-latest: true
|
||||
|
||||
- name: Run test
|
||||
|
@ -150,7 +150,7 @@ jobs:
|
|||
id: go
|
||||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.20.4'
|
||||
check-latest: true
|
||||
|
||||
- name: Set up QEMU
|
||||
|
@ -216,7 +216,7 @@ jobs:
|
|||
- name: Setup Go
|
||||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.20.4'
|
||||
check-latest: true
|
||||
|
||||
- name: cache
|
||||
|
@ -474,7 +474,7 @@ jobs:
|
|||
if: ${{ steps.filter-images.outputs.kube-webhook-certgen == 'true' }}
|
||||
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.20.4'
|
||||
check-latest: true
|
||||
|
||||
- name: kube-webhook-certgen image build
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM golang:1.20.1-alpine3.17 as builder
|
||||
FROM golang:1.20.4-alpine3.18 as builder
|
||||
|
||||
RUN apk update \
|
||||
&& apk upgrade && apk add git
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.20.1-alpine3.17 as builder
|
||||
FROM golang:1.20.4-alpine3.18 as builder
|
||||
RUN mkdir /authsvc
|
||||
WORKDIR /authsvc
|
||||
COPY . ./
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM golang:1.20.1-alpine3.17 as builder
|
||||
FROM golang:1.20.4-alpine3.18 as builder
|
||||
|
||||
WORKDIR /go/src/k8s.io/ingress-nginx/images/fastcgi
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.20.1-alpine3.17 as build
|
||||
FROM golang:1.20.4-alpine3.18 as build
|
||||
|
||||
WORKDIR /go/src/greeter-server
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ image:
|
|||
--pull \
|
||||
--push \
|
||||
--build-arg BASE_IMAGE=${NGINX_BASE_IMAGE} \
|
||||
--build-arg GOLANG_VERSION=1.20.1 \
|
||||
--build-arg GOLANG_VERSION=1.20.4 \
|
||||
--build-arg ETCD_VERSION=3.4.3-0 \
|
||||
--build-arg K8S_RELEASE=v1.26.0 \
|
||||
--build-arg RESTY_CLI_VERSION=0.27 \
|
||||
|
@ -64,7 +64,7 @@ build: ensure-buildx
|
|||
--progress=${PROGRESS} \
|
||||
--pull \
|
||||
--build-arg BASE_IMAGE=${NGINX_BASE_IMAGE} \
|
||||
--build-arg GOLANG_VERSION=1.20.1 \
|
||||
--build-arg GOLANG_VERSION=1.20.4 \
|
||||
--build-arg ETCD_VERSION=3.4.3-0 \
|
||||
--build-arg K8S_RELEASE=v1.26.0 \
|
||||
--build-arg RESTY_CLI_VERSION=0.27 \
|
||||
|
|
|
@ -15,7 +15,7 @@ ARG BASE_IMAGE
|
|||
ARG GOLANG_VERSION
|
||||
ARG ETCD_VERSION
|
||||
|
||||
FROM golang:${GOLANG_VERSION}-alpine3.17 as GO
|
||||
FROM golang:${GOLANG_VERSION}-alpine3.18 as GO
|
||||
FROM registry.k8s.io/etcd:${ETCD_VERSION} as etcd
|
||||
|
||||
FROM ${BASE_IMAGE}
|
||||
|
|
Loading…
Reference in a new issue