Skip to content

Conversation

@jormundur00
Copy link
Member

@jormundur00 jormundur00 commented Nov 19, 2025

What does this PR do?

In this PR we introduce the fully automated updating of docker image versions upon dependabot updates. Previously, in the dependabot opened docker image version update PR's, the version was only updated in /tests/tck-build-logic/src/main/resources/allowed-docker-images, while all other references to the docker image had to be manually replaced. With this PR, the newly-added GitHub actions workflow will automatically look through the repository for references to the old image version and replace them with the new version. The replacements it makes are then commited to the dependabot PR (in a separate commit), and the resulting PR should be merge-ready.

These dependabot PR's will still be assigned to me. @jormundur00, so I will still look at their correctness, but this will save time on manual labor.

This workflow has been tested on a fork for the current outdated versions and it does everything that we previously did manually for them: https://github.com/jormundur00/graalvm-reachability-metadata/pulls.

Fixes: #784.

@jormundur00 jormundur00 self-assigned this Nov 19, 2025
@jormundur00 jormundur00 added enhancement New feature or request docker Pull requests that update docker code labels Nov 19, 2025
@jormundur00 jormundur00 force-pushed the jormundur00/automated-docker-image-update branch from 3936b34 to a1f913a Compare November 19, 2025 13:41
@jormundur00 jormundur00 force-pushed the jormundur00/automated-docker-image-update branch from a1f913a to be3dd8d Compare November 19, 2025 13:43
@jormundur00 jormundur00 requested a review from ban-mi as a code owner November 20, 2025 13:09
@vjovanov
Copy link
Member

Instead of

Implements: #784

use

Fixes: #784


- name: "📝 Sync docker image tags"
run: |
set -euo pipefail
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GPT 5 :)

@jormundur00 jormundur00 merged commit 70db1f4 into master Nov 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Pull requests that update docker code enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Automatic updating of docker image versions through the dependabot

2 participants