gha: update actions to account for node 16 deprecation #47250
gha: update actions to account for node 16 deprecation #47250thaJeztah merged 9 commits intomoby:masterfrom
Conversation
|
Looks like some changes are needed; moby/.github/workflows/bin-image.yml Line 65 in 794f712 moby/.github/workflows/bin-image.yml Lines 177 to 183 in 794f712 |
Ah yes this is related to docker/metadata-action#381, see docker/metadata-action#381 (comment) as workaround in the meantime |
Release notes: - actions/checkout@v3.6.0...v4.1.1 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- full diff: actions/github-script@v6.4.1...v7.0.1 breaking changes: https://github.com/actions/github-script?tab=readme-ov-file#v7 > Version 7 of this action updated the runtime to Node 20 > https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions > > All scripts are now run with Node 20 instead of Node 16 and are affected > by any breaking changes between Node 16 and 20 > > The previews input now only applies to GraphQL API calls as REST API previews > are no longer necessary > https://github.blog/changelog/2021-10-14-rest-api-preview-promotions/. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- full diff: actions/setup-go@v3.5.0...v5.0.0 v5 In scope of this release, we change Nodejs runtime from node16 to node20. Moreover, we update some dependencies to the latest versions. Besides, this release contains such changes as: - Fix hosted tool cache usage on windows - Improve documentation regarding dependencies caching V4 The V4 edition of the action offers: - Enabled caching by default - The action will try to enable caching unless the cache input is explicitly set to false. Please see "Caching dependency files and build outputs" for more information: https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Node 20 as default runtime (requires Actions Runner v2.308.0 or later) - full diff: docker/metadata-action@v4.6.0...v5.5.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Node 20 as default runtime (requires Actions Runner v2.308.0 or later) - full diff: docker/setup-buildx-action@v2.10.0...v3.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Node 20 as default runtime (requires Actions Runner v2.308.0 or later) - full diff docker/bake-action@v2.3.0...v4.1.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Node 20 as default runtime (requires Actions Runner v2.308.0 or later) - full diff docker/setup-qemu-action@v2.2.0...v3.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Node 20 as default runtime (requires Actions Runner v2.308.0 or later) - full diff docker/login-action@v2.2.0...v3.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Node 20 as default runtime (requires Actions Runner v2.308.0 or later) - full diff: crazy-max/ghaction-github-runtime@v2.2.0...v3.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2335bf8 to
3a81912
Compare
| name: Rename meta bake definition file | ||
| # see https://github.com/docker/metadata-action/issues/381#issuecomment-1918607161 | ||
| run: | | ||
| mv "${{ steps.meta.outputs.bake-file }}" "/tmp/bake-meta.json" | ||
| bakeFile="${{ steps.meta.outputs.bake-file }}" | ||
| mv "${bakeFile#cwd://}" "/tmp/bake-meta.json" |
There was a problem hiding this comment.
Updated this commit to have the suggested changes
|
Thanks @crazy-max - looks like that resolved the issue; PTAL 🤗 |
|
Let me bring this one in; thanks! |

Noticed deprecation warnings in CI:
gha: update to actions/checkout@v4
Release notes:
gha: update to actions/github-script@v7
breaking changes: https://github.com/actions/github-script?tab=readme-ov-file#v7
gha: update to actions/setup-go@v5
v5
In scope of this release, we change Nodejs runtime from node16 to node20.
Moreover, we update some dependencies to the latest versions.
Besides, this release contains such changes as:
V4
The V4 edition of the action offers:
set to false.
Please see "Caching dependency files and build outputs" for more information:
https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs
gha: update to docker/metadata-action@v5
gha: update to docker/setup-buildx-action@v3
gha: update to docker/bake-action@v4
gha: update to docker/setup-qemu-action@v3
gha: update to docker/login-action@v3
gha: update to crazy-max/ghaction-github-runtime@v3
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)