Compare commits

...
Author SHA1 Message Date
dependabot[bot] b854b8f9e1 build(deps): bump docker/bake-action from 7.4.0 to 7.5.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/018cb6412ab401ebaa809aa5f85966b74628600f...59cb1203cd42bcefd40a1b6d73b589e48c86040e)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: 7.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-11-05 13:42:22 +00:00
CrazyMax 808fb6eb18 Merge pull request #356 from docker/dependabot/github_actions/codeql-actions-54bdb232ba
build(deps): bump the codeql-actions group with 2 updates
2026-11-05 14:41:15 +01:00
CrazyMax 627bb10107 Merge pull request #358 from docker/dependabot/github_actions/docker/bake-action/subaction/matrix-7.5.0
build(deps): bump docker/bake-action/subaction/matrix from 7.4.0 to 7.5.0
2026-11-05 14:41:04 +01:00
CrazyMax 316c72cb5e Merge pull request #355 from crazy-max/ci-automate-docker-version-updates
ci: update docker to 29.9.3 and automate version updates
2026-11-05 14:40:25 +01:00
CrazyMax 78ba0d8a93 ci: update docker to 29.9.3 and automate version updates
Signed-off-by: CrazyMax <[email protected]>
2026-11-05 14:13:03 +01:00
dependabot[bot] e78aa85057 build(deps): bump docker/bake-action/subaction/matrix
Bumps [docker/bake-action/subaction/matrix](https://github.com/docker/bake-action) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/018cb6412ab401ebaa809aa5f85966b74628600f...59cb1203cd42bcefd40a1b6d73b589e48c86040e)

---
updated-dependencies:
- dependency-name: docker/bake-action/subaction/matrix
  dependency-version: 7.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-11-05 10:54:54 +00:00
dependabot[bot] aba1a25acc build(deps): bump the codeql-actions group with 2 updates
Bumps the codeql-actions group with 2 updates: [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.39.0 to 4.39.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee...1fc58d04a4d4374f921bdac573c3811c240f9c26)

Updates `github/codeql-action/analyze` from 4.39.0 to 4.39.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee...1fc58d04a4d4374f921bdac573c3811c240f9c26)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-actions
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-11-05 10:54:20 +00:00
6 changed files with 40 additions and 40 deletions

No files matched your search

+3 -23
View File
@@ -20,7 +20,7 @@ on:
pull_request:
env:
DOCKER_VERSION: v27.3.1
DOCKER_VERSION: v29.9.3
DOCKER_BUILD_SUMMARY: false
jobs:
@@ -36,8 +36,8 @@ jobs:
- windows-latest
version:
- ""
- v27.3.1
- type=image,tag=27.3.1
- v29.9.3
- type=image,tag=29.9.3
steps:
-
name: Checkout
@@ -325,23 +325,3 @@ jobs:
env:
UNDOCK_VERSION: ${{ matrix.undock_version }}
REGCTL_VERSION: ${{ matrix.regctl_version }}
docker-29:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-26-large
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Set up Docker
uses: ./
with:
version: v29.0.0-rc.1
channel: test
+2 -2
View File
@@ -35,12 +35,12 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
-
name: Initialize CodeQL
uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
uses: github/codeql-action/init@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2
with:
languages: javascript-typescript
build-mode: none
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
uses: github/codeql-action/analyze@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2
with:
category: "/language:javascript-typescript"
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Test
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
source: .
targets: test
+31 -11
View File
@@ -27,6 +27,7 @@ jobs:
fail-fast: false
matrix:
dep:
- docker
- regctl
- undock
steps:
@@ -91,6 +92,12 @@ jobs:
}
const dependencyConfigs = {
docker: {
name: 'Docker version',
branch: 'deps/docker-version',
sourcePath: '.github/docker-releases.json',
sourceUrl: 'https://github.com/docker/actions-toolkit/blob/main/.github/docker-releases.json'
},
regctl: {
name: 'Regctl version',
branch: 'deps/regctl-version',
@@ -113,22 +120,32 @@ jobs:
return;
}
const version = await readLatestTag(config.sourcePath);
const targetPath = 'src/main.ts';
const tag = await readLatestTag(config.sourcePath);
const version = dep === 'docker' ? tag.replace(/^docker-/, '') : tag;
const targetPath = dep === 'docker' ? '.github/workflows/ci.yml' : 'src/main.ts';
const absolutePath = path.join(process.env.GITHUB_WORKSPACE, targetPath);
const content = fs.readFileSync(absolutePath, 'utf8');
const pattern = tsConstStringPattern(config.key);
const match = content.match(pattern);
const replacements = dep === 'docker' ? [
{pattern: /^( DOCKER_VERSION: )(v\S+)()$/m, version},
{pattern: /^( - )(v\S+)()$/m, version},
{pattern: /^( - type=image,tag=)(\S+)()$/m, version: version.replace(/^v/, '')}
] : [{pattern: tsConstStringPattern(config.key), version}];
let updatedContent = content;
let previousVersion;
for (const replacement of replacements) {
const match = updatedContent.match(replacement.pattern);
if (!match) {
throw new Error(`Missing ${config.key} in ${targetPath}`);
throw new Error(`Missing ${replacement.pattern} in ${targetPath}`);
}
previousVersion ??= match[2];
updatedContent = updatedContent.replace(replacement.pattern, (_, prefix, current, suffix) => `${prefix}${replacement.version}${suffix}`);
}
const previousVersion = match[2];
const changed = previousVersion !== version;
const changed = updatedContent !== content;
if (changed) {
fs.writeFileSync(
absolutePath,
content.replace(pattern, `$1${version}$3`),
updatedContent,
'utf8'
);
core.info(`New ${config.name} ${version} found`);
@@ -143,10 +160,13 @@ jobs:
core.setOutput('before', previousVersion);
core.setOutput('after', version);
core.setOutput('source-url', config.sourceUrl);
core.setOutput('description', dep === 'docker'
? `This updates the pinned Docker version in \`${targetPath}\` from \`${previousVersion}\` to \`${version}\`, including the binary and image test matrix entries.`
: `This updates the pinned default in \`${targetPath}\` from \`${previousVersion}\` to \`${version}\` and refreshes generated \`dist\` content.`);
-
name: Build
if: steps.update.outputs.changed == 'true'
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
if: steps.update.outputs.changed == 'true' && matrix.dep != 'docker'
uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
source: .
targets: build
@@ -163,6 +183,6 @@ jobs:
sign-commits: true
delete-branch: true
body: |
This updates the pinned default in `src/main.ts` from `${{ steps.update.outputs.before }}` to `${{ steps.update.outputs.after }}` and refreshes generated `dist` content.
${{ steps.update.outputs.description }}
The source of truth for this update is ${{ steps.update.outputs.source-url }}.
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
token: ${{ steps.docker-read-app.outputs.token }}
-
name: Build
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
source: .
targets: build
+2 -2
View File
@@ -26,7 +26,7 @@ jobs:
-
name: Generate matrix
id: generate
uses: docker/bake-action/subaction/matrix@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
uses: docker/bake-action/subaction/matrix@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
target: validate
@@ -41,6 +41,6 @@ jobs:
steps:
-
name: Validate
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
targets: ${{ matrix.target }}