Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# comes from the devtools image (https://github.com/dan-petty/devtools), which names the source
# of each tool. This file pins the image by digest, and Renovate moves the digest. The two Dev
# Container Features of .devcontainer/image/devcontainer.json add the user vscode and Podman.
FROM ghcr.io/dan-petty/devtools:20261122.53@sha256:abe82fb04b4bf66be6f55f1a096ae1b16f03bcefc4da70636b53e2fc9d4467b1 AS devtools
FROM ghcr.io/dan-petty/devtools:1.0.0@sha256:3dae86967cd1a7f9f74b75475fb7d200ccbdfadbaa334f3dd3f32d27b8668f3d AS devtools

# The requirements of `uv.lock`, with their hashes and without the project (#4550). A release
# changes the project version in `pyproject.toml` and `uv.lock`, but not this file, and BuildKit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rule-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
name: Rule Pack Tests
runs-on: ubuntu-26.04
container:
image: ghcr.io/dan-petty/devtools:20261122.53@sha256:abe82fb04b4bf66be6f55f1a096ae1b16f03bcefc4da70636b53e2fc9d4467b1
image: ghcr.io/dan-petty/devtools:1.0.0@sha256:3dae86967cd1a7f9f74b75475fb7d200ccbdfadbaa334f3dd3f32d27b8668f3d
timeout-minutes: 5
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM node:24-trixie-slim@sha256:af02d57b57719b9657a45199a79264a9437940cd55b3c7b3
# and the digest of this line, in the devtools group with the devcontainer image (#4361). The runner
# uses the OpenSpec of this image. The OpenSpec pin of the project reaches a runner Job through the
# coder bootstrap (#6517) after #6409.
FROM ghcr.io/dan-petty/devtools:20261122.53@sha256:abe82fb04b4bf66be6f55f1a096ae1b16f03bcefc4da70636b53e2fc9d4467b1 AS devtools
FROM ghcr.io/dan-petty/devtools:1.0.0@sha256:3dae86967cd1a7f9f74b75475fb7d200ccbdfadbaa334f3dd3f32d27b8668f3d AS devtools

# The runtime requirements of `uv.lock` with the `review` extra, with their hashes and without the
# project (#4550). A release changes the project version in `pyproject.toml` and `uv.lock`, but not
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
schema: spec-driven
created: 2026-11-22
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Design

## Decisions

- Pin the tag `1.0.0` and its index digest, in the form of the three files. Renovate updates both.

## Rejected alternatives

- Pin the moving tag `1` or `latest`: the digest pin already gives a fixed image, and a full version in the tag names the release in each Renovate pull request.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Proposal: #6775

## Why

`.devcontainer/Dockerfile`, `Dockerfile` and `.github/workflows/rule-pack.yml` pin `ghcr.io/dan-petty/devtools:20261122.53` (#6760). dan-petty/devtools#37 moved the image to semantic versions, and its first release `v1.0.0` published the tags `1.0.0`, `1.0`, `1` and `latest`. Renovate does not compare the tag `20261122.53` with `1.0.0`, so it offers no update.

Closes #6775.

## What Changes

- Pin the three references to `ghcr.io/dan-petty/devtools:1.0.0` at its index digest `sha256:3dae8696…b8668f3d` (amd64 and arm64).

## Capabilities

### New Capabilities

None.

### Modified Capabilities

None. The group `devtools` of `.github/renovate.json` holds the three references, as before.

## Impact

The devcontainer, the runner image and the rule-pack job use the devtools release `1.0.0`. Renovate then offers each new devtools release and each new digest of the daily rebuild.

## Feasibility

`skopeo list-tags docker://ghcr.io/dan-petty/devtools` lists `1.0.0`, `1.0`, `1` and `latest`. `skopeo inspect` of `1.0.0` gives the version label `1.0.0`, the revision label 00ec5fcd6 (the release commit of dan-petty/devtools) and the index digest above.

## Existing Tool Considered

Renovate, which keeps the pin current once the pin has the semantic version form.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Tasks

## 1. Pins

- [x] 1.1 Pin the devtools image of the three references to `1.0.0` at its index digest
- Verification: `$ git grep -c 'devtools:1.0.0@sha256:3dae8696' -- .devcontainer/Dockerfile Dockerfile .github/workflows/rule-pack.yml`
- [x] 1.2 Check that the tag holds the devtools release commit
- Verification: `$ skopeo inspect --format '{{index .Labels "org.opencontainers.image.version"}}' docker://ghcr.io/dan-petty/devtools:1.0.0`