diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21a2049c..b852cb65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.18.x] + go-version: [1.19.x] steps: - uses: actions/checkout@master with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ac74f7db..2dab64cc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.18.x] + go-version: [1.19.x] steps: - uses: actions/checkout@master with: diff --git a/auth/basic-auth/Dockerfile b/auth/basic-auth/Dockerfile index ab7e552f..89e5f94c 100644 --- a/auth/basic-auth/Dockerfile +++ b/auth/basic-auth/Dockerfile @@ -1,6 +1,6 @@ -FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/openfaas/license-check:0.4.0 as license-check +FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/openfaas/license-check:0.4.1 as license-check -FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18 as build +FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.19 as build ENV GO111MODULE=off ENV CGO_ENABLED=0 @@ -26,7 +26,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go test -v RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \ --ldflags "-s -w" -a -installsuffix cgo -o handler . -FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.2 as ship +FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17 as ship # Add non-root user RUN addgroup -S app && adduser -S -g app app \ && mkdir -p /home/app \ diff --git a/gateway/Dockerfile b/gateway/Dockerfile index 4b337239..7fc0765c 100644 --- a/gateway/Dockerfile +++ b/gateway/Dockerfile @@ -1,6 +1,6 @@ -FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/openfaas/license-check:0.4.0 as license-check +FROM --platform=${BUILDPLATFORM:-linux/amd64} ghcr.io/openfaas/license-check:0.4.1 as license-check -FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18 as build +FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.19 as build ENV GO111MODULE=on ENV CGO_ENABLED=0 @@ -45,7 +45,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -- -X github.com/openfaas/faas/gateway/types.Arch=${TARGETARCH}" \ -a -installsuffix cgo -o gateway . -FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.1 as ship +FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17 as ship LABEL org.label-schema.license="MIT" \ org.label-schema.vcs-url="https://github.com/openfaas/faas" \