浏览代码

CI: update workflows

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino 8 月之前
父节点
当前提交
af280eeb63
共有 3 个文件被更改,包括 7 次插入7 次删除
  1. 1 1
      .github/workflows/development.yml
  2. 4 4
      .github/workflows/docker.yml
  3. 2 2
      .github/workflows/release.yml

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

@@ -463,7 +463,7 @@ jobs:
 
 
   build-linux-packages:
   build-linux-packages:
     name: Build Linux packages
     name: Build Linux packages
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     strategy:
     strategy:
       matrix:
       matrix:
         include:
         include:

+ 4 - 4
.github/workflows/docker.yml

@@ -17,7 +17,7 @@ jobs:
     strategy:
     strategy:
       matrix:
       matrix:
         os:
         os:
-          - ubuntu-latest
+          - ubuntu-22.04
         docker_pkg:
         docker_pkg:
           - debian
           - debian
           - alpine
           - alpine
@@ -25,10 +25,10 @@ jobs:
           - true
           - true
           - false
           - false
         include:
         include:
-          - os: ubuntu-latest
+          - os: ubuntu-22.04
             docker_pkg: distroless
             docker_pkg: distroless
             optional_deps: false
             optional_deps: false
-          - os: ubuntu-latest
+          - os: ubuntu-22.04
             docker_pkg: debian-plugins
             docker_pkg: debian-plugins
             optional_deps: true
             optional_deps: true
     steps:
     steps:
@@ -163,7 +163,7 @@ jobs:
         if: ${{ github.event_name != 'pull_request' }}
         if: ${{ github.event_name != 'pull_request' }}
 
 
       - name: Build and push
       - name: Build and push
-        uses: docker/build-push-action@v5
+        uses: docker/build-push-action@v6
         with:
         with:
           context: .
           context: .
           builder: ${{ steps.builder.outputs.name }}
           builder: ${{ steps.builder.outputs.name }}

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

@@ -9,7 +9,7 @@ permissions:
   contents: write
   contents: write
 
 
 env:
 env:
-  GO_VERSION: 1.22.9
+  GO_VERSION: 1.22.12
 
 
 jobs:
 jobs:
   prepare-sources-with-deps:
   prepare-sources-with-deps:
@@ -296,7 +296,7 @@ jobs:
 
 
   prepare-linux:
   prepare-linux:
     name: Prepare Linux binaries
     name: Prepare Linux binaries
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     strategy:
     strategy:
       matrix:
       matrix:
         include:
         include: