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 <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2023-12-24 20:18:12 +08:00
parent a9c0fd3bbd
commit 691ddecf48
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
FROM alpine:3.19
FROM alpine:3.17
ARG TARGETOS
ARG TARGETARCH