Skip to content

ci: bump docker actions to node24, fix go module cache path in release.yml - #21

Merged
abienkowski merged 1 commit into
mainfrom
ci/fix-remaining-annotations
Aug 19, 2026
Merged

ci: bump docker actions to node24, fix go module cache path in release.yml#21
abienkowski merged 1 commit into
mainfrom
ci/fix-remaining-annotations

Conversation

@abienkowski

Copy link
Copy Markdown
Collaborator

Problem

5 annotations remained on the release workflow after #20 (https://github.com/ChainSafe/docker-socket-policy/actions/runs/32172569093):

  1. Node.js 20 is deprecated ... docker/build-push-action@v5, docker/login-action@v3 (3x — one per language job: go, rust, ts)
  2. Restore cache failed: Dependencies file is not found in .../docker-socket-policy. Supported file pattern: go.mod (2x — release-verify and release-go jobs)

Fix

  1. Bumped docker/login-action v3 → v4 and docker/build-push-action v5 → v7 (v6 still targets node20; v7 is the first to declare using: node24). No relevant breaking changes for our usage (no DOCKER_BUILD_NO_SUMMARY/DOCKER_BUILD_EXPORT_RETENTION_DAYS envs used).
  2. release.yml has two actions/setup-go@v7 steps that never got cache-dependency-path: go/go.sum (unlike the equivalent step in ci.yml, fixed in ci: bump actions/checkout, setup-go, setup-node to latest majors #20's predecessor work). Since this repo's Go module lives in go/ not the repo root, setup-go's default cache lookup fails. Added the missing input to both steps.

Verification

Will confirm via this PR's own release-verify/go job runs that the annotations are gone, plus the next real release run after merge.

…e.yml

Fixes the 5 remaining annotations on the release workflow run:
- docker/login-action v3 -> v4 and docker/build-push-action v5 -> v7
  (both now declare using: node24; v6 of build-push-action was still node20)
- setup-go's default cache lookup expects go.mod/go.sum at the repo root,
  but this repo's Go module lives in go/. Added the same
  cache-dependency-path: go/go.sum already used in ci.yml to the two
  setup-go steps in release.yml that were missing it, fixing the
  'Restore cache failed: Dependencies file is not found' annotation.
@abienkowski
abienkowski merged commit 85ee504 into main Aug 19, 2026
6 checks passed
@abienkowski
abienkowski deleted the ci/fix-remaining-annotations branch August 19, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant