Skip to content

Commit

Permalink
Run trivy-cache job on ARM64 worker (#2925)
Browse files Browse the repository at this point in the history
because we suspect this is the reason why later jobs that run on those
workers don't find the cache.

Might be related to:
https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cross-os-cache

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
  • Loading branch information
jimmykarily authored Oct 9, 2024
1 parent 5c6eea4 commit 0ff22fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/image-arm-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
# Populate the trivy cache once for all later jobs to use
trivy-cache:
runs-on: ubuntu-latest
runs-on: ARM64
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
# Populate the trivy cache once for all later jobs to use
trivy-cache:
runs-on: ubuntu-latest
runs-on: ARM64
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# Populate the trivy cache once for all later jobs to use
trivy-cache:
runs-on: ubuntu-latest
runs-on: ARM64
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
Expand Down

0 comments on commit 0ff22fe

Please sign in to comment.