Skip to content

Run the action from a prebuilt image on GHCR - #20

Merged
peterus merged 1 commit into
mainfrom
feat/ghcr
Nov 16, 2026
Merged

peterus merged 1 commit into
mainfrom
feat/ghcr

Conversation

@peterus

@peterus peterus commented Nov 16, 2026

Copy link
Copy Markdown
Owner
  • action.yml nutzt docker://ghcr.io/peterus/platformio_dependabot:v1.4.0 statt bei jedem Lauf das Dockerfile zu bauen
  • Release-Workflow (update-major.yml → release.yml):
    1. prüft, dass action.yml am Release-Tag genau dieses Image referenziert
    2. baut und pusht ghcr.io/peterus/platformio_dependabot:<tag>
    3. erst danach wird v1 verschoben → @v1-Nutzer bekommen nie ein fehlendes Image
  • OCI-Labels im Dockerfile (Source-Repo-Link, damit das Package dem Repo zugeordnet ist)
  • RELEASING.md mit dem Ablauf

⚠️ Bis v1.4.0 veröffentlicht ist, funktioniert @main nicht (Image existiert noch nicht) – @v1 ist nicht betroffen.

🤖 Generated with Claude Code

Docker actions with 'image: Dockerfile' build the image on every run.
The release workflow now builds the image once, pushes it to
ghcr.io/peterus/platformio_dependabot:<tag> and only then moves the
major tag. action.yml references the image of exactly one release, the
workflow refuses to publish if it does not match the release tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@peterus
peterus merged commit 880fea6 into main Nov 16, 2026
2 checks passed
@peterus
peterus deleted the feat/ghcr branch November 16, 2026 16:46
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