From 691ddecf48d162677e6e3d9afb5de25a25bd0a43 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sun, 24 Dec 2023 20:18:12 +0800 Subject: [PATCH] chore: update Go version and base images - Update the `go-version` to `^1` in the `.github/workflows/lint.yml` file - Change the container in the `.github/workflows/lint.yml` file from `golang:1.20-alpine` to `golang:1.21-alpine` - Update the base image in the `docker/Dockerfile` file from `alpine:3.19` to `alpine:3.17` Signed-off-by: appleboy --- .github/workflows/lint.yml | 4 ++-- docker/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2acd38a..3cc5dfa 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version: '^1' + go-version: "^1" - name: Checkout repository uses: actions/checkout@v3 - name: Setup golangci-lint @@ -27,7 +27,7 @@ jobs: testing: runs-on: ubuntu-latest - container: golang:1.20-alpine + container: golang:1.21-alpine steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/docker/Dockerfile b/docker/Dockerfile index 49efab8..259cc3b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.19 +FROM alpine:3.17 ARG TARGETOS ARG TARGETARCH