From 103727b5f4096bbd5461a9150ddc5562dc9f7a35 Mon Sep 17 00:00:00 2001 From: Lucas Manuel Rodriguez Date: Tue, 22 Oct 2024 17:41:32 -0300 Subject: [PATCH] Use ubuntu 22.04 for trivy ci scheduled check (#23088) Fixing these failures: https://github.com/fleetdm/fleet/actions/runs/11454239765/job/31881900492 Following this advice https://github.com/orgs/community/discussions/139074#discussioncomment-10935090. It seems it works. --- .../build-and-check-fleetctl-docker-and-deps.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-check-fleetctl-docker-and-deps.yml b/.github/workflows/build-and-check-fleetctl-docker-and-deps.yml index ff20260409..1e12e45e8a 100644 --- a/.github/workflows/build-and-check-fleetctl-docker-and-deps.yml +++ b/.github/workflows/build-and-check-fleetctl-docker-and-deps.yml @@ -2,11 +2,6 @@ name: Build fleetctl docker dependencies and check vulnerabilities on: workflow_dispatch: - inputs: - image_tag: - description: "Docker image tag" - required: true - type: string schedule: - cron: "0 6 * * *" @@ -25,7 +20,7 @@ permissions: jobs: build-and-check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: Docker Hub permissions: contents: write @@ -47,7 +42,7 @@ jobs: - name: Set up Go uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version-file: 'go.mod' + go-version-file: "go.mod" - name: Install Go Dependencies run: make deps-go