mudler 1 year ago
parent
commit
10d370bf4e
4 changed files with 5 additions and 5 deletions
  1. 1 1
      .github/workflows/build.yml
  2. 1 1
      .github/workflows/release.yml
  3. 2 2
      .github/workflows/test.yml
  4. 1 1
      Dockerfile

+ 1 - 1
.github/workflows/build.yml

@@ -14,7 +14,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v4
         with:
-          go-version: 1.19
+          go-version: 1.21
       - name: Run GoReleaser
         uses: goreleaser/goreleaser-action@v4
         with:

+ 1 - 1
.github/workflows/release.yml

@@ -16,7 +16,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v4
         with:
-          go-version: 1.19
+          go-version: 1.21
       - name: Run GoReleaser
         uses: goreleaser/goreleaser-action@v4
         with:

+ 2 - 2
.github/workflows/test.yml

@@ -15,7 +15,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v4
         with:
-          go-version: 1.19
+          go-version: 1.21
       
       - name: Build
         run:
@@ -50,7 +50,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v4
         with:
-          go-version: 1.19
+          go-version: 1.21
       - name: Download result for build
         uses: actions/download-artifact@v3
         with:

+ 1 - 1
Dockerfile

@@ -2,7 +2,7 @@
 ARG LDFLAGS=-s -w
 
 # Use a temporary build image based on Golang 1.20-alpine
-FROM golang:1.20-alpine as builder
+FROM golang:1.21-alpine as builder
 
 # Set environment variables: linker flags and disable CGO
 ENV LDFLAGS=$LDFLAGS CGO_ENABLED=0