Update Go to 1.18 and Alpine to 3.16

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2022-05-24 12:09:08 +03:00
parent 19603ddfc1
commit f4199ab8bc
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
helm-version:
- 3.8.1
- 3.9.0
runs-on: ubuntu-latest
steps:
- name: Checkout
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
go-version: 1.18.x
- name: Setup CUE
uses: cue-lang/setup-cue@main
- name: Run unit tests
+2 -2
View File
@@ -1,4 +1,4 @@
FROM golang:1.17-alpine as builder
FROM golang:1.18-alpine as builder
ARG REVISION
@@ -18,7 +18,7 @@ RUN CGO_ENABLED=0 go build -ldflags "-s -w \
-X github.com/stefanprodan/podinfo/pkg/version.REVISION=${REVISION}" \
-a -o bin/podcli cmd/podcli/*
FROM alpine:3.15
FROM alpine:3.16
ARG BUILD_DATE
ARG VERSION
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.17
FROM golang:1.18
WORKDIR /workspace
+2 -2
View File
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.17
ARG GO_VERSION=1.18
ARG XX_VERSION=1.1.0
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
@@ -28,7 +28,7 @@ RUN xx-go build -ldflags "-s -w \
-X github.com/stefanprodan/podinfo/pkg/version.REVISION=${REVISION}" \
-a -o bin/podcli cmd/podcli/*
FROM alpine:3.15
FROM alpine:3.16
ARG BUILD_DATE
ARG VERSION
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/stefanprodan/podinfo
go 1.17
go 1.18
require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751