Skip to content

testutil/promrated: publish image to GHCR only - #4822

Merged
aly-obol merged 1 commit into
mainfrom
fix/promrated-image-ghcr-only
Nov 4, 2026
Merged

aly-obol merged 1 commit into
mainfrom
fix/promrated-image-ghcr-only

Conversation

@aly-obol

@aly-obol aly-obol commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

What

Build and Deploy Promrated Image has failed on every run since at least 2026-09-03 (latest: 2026-11-03):

failed to push obolnetwork/promrated:latest: denied: ... tag latest is already assigned to an image in this repository and cannot be updated due to immutability settings

Docker Hub obolnetwork/promrated has immutable tags, so the latest push fails and aborts the whole build (GHCR included). The improved testutil/promrated/Dockerfile (multi-stage, Go 1.27.3, alpine 3.24, no Go toolchain in the final image) has therefore never been published; production still runs ghcr.io/obolnetwork/promrated:ffc3764 from 2025-11-06 (Go 1.25.4, Alpine curl/openssl, full Go toolchain: 11 Security Command Center findings).

  • Publish to GHCR only (drop the Docker Hub image and login). Deployment pulls from GHCR (tools/promrated Terraform in obol-infrastructure, via the promrated-apply dispatch); nothing pulls promrated from Docker Hub.
  • Add the workflow file to its own paths filter and workflow_dispatch, so this change (and future CI-only changes) trigger a build.

Merging this runs the build, which dispatches promrated-apply with the new short SHA.

category: fixbuild
ticket: none

@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

@aly-obol aly-obol changed the title ci(promrated): publish to GHCR only; Docker Hub immutable latest tag failed every build testutil/promrated: publish image to GHCR only Nov 4, 2026
@obol-platform
obol-platform enabled auto-merge (squash) November 4, 2026 03:25
@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.73%. Comparing base (e7d8587) to head (25a443b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4822   +/-   ##
=======================================
  Coverage   67.72%   67.73%           
=======================================
  Files         255      255           
  Lines       33711    33711           
=======================================
+ Hits        22832    22835    +3     
+ Misses      10878    10875    -3     
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aly-obol
aly-obol disabled auto-merge November 4, 2026 03:36
@aly-obol
aly-obol merged commit 774315a into main Nov 4, 2026
12 of 13 checks passed
@aly-obol
aly-obol deleted the fix/promrated-image-ghcr-only branch November 4, 2026 03:36
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.

2 participants