Skip to content

fix(ci): push the RabbitMQ image to the registry host the workflow logs in to [IFC-3505] - #112

Merged
danipl merged 1 commit into
stablefrom
dp-20261029-fix-rabbitmq-image-push-ifc-3505
Oct 29, 2026
Merged

danipl merged 1 commit into
stablefrom
dp-20261029-fix-rabbitmq-image-push-ifc-3505

Conversation

@danipl

@danipl danipl commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The manual run of Build RabbitMQ image on stable did not publish registry.opsmill.io/opsmill/rabbitmq:4.1.3-debian-12-r1-opsmill.1 (run 40841269708). The registry answered: "unauthorized to access repository: opsmill/rabbitmq, action: push".

The workflow logs in to vars.HARBOR_HOST but pushed to the host in rabbitmq.image.registry, registry.opsmill.io. Docker stores registry credentials per host name, so the push had no credentials. The infrahub repository already pushes its images to vars.HARBOR_HOST (ci-docker-image.yml), and the charts pull them from registry.opsmill.io.

Jira: IFC-3505. Follows #109.

Changes

  • The push reference is vars.HARBOR_HOST plus rabbitmq.image.repository and rabbitmq.image.tag from charts/infrahub/values.yaml. The chart still pulls from registry.opsmill.io.
  • When vars.HARBOR_HOST is empty, the reference falls back to registry.opsmill.io, so a build-only run still gets a valid image name.
  • The tag check before the push uses the same reference, so it now looks at the host the workflow is logged in to.

No changelog fragment: only CI configuration changes, which users do not see.

Test plan

  • yq 4.50.1 renders 9r2s1098.c1.gra9.container-registry.ovh.net/opsmill/rabbitmq:4.1.3-debian-12-r1-opsmill.1 with this expression and the current values.yaml.
  • yamllint and actionlint pass on the workflow.
  • This PR's build-only run of the workflow passes.
  • After the merge, a manual run with push on stable publishes the image, and docker buildx imagetools inspect registry.opsmill.io/opsmill/rabbitmq:4.1.3-debian-12-r1-opsmill.1 finds it.
  • After the image is published, the e2e jobs on stable pass.

🤖 Generated with Claude Code

…gs in to [IFC-3505]

The workflow logged in to vars.HARBOR_HOST but pushed to registry.opsmill.io,
the host in rabbitmq.image.registry. Docker stores credentials per host, so
the push had no credentials and the registry refused it. The push reference
now uses vars.HARBOR_HOST with the repository and tag from values.yaml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@danipl danipl added the ci/skip-changelog No changelog fragment required for this pull request label Oct 29, 2026
@danipl
danipl requested a review from fatih-acar October 29, 2026 09:07
@danipl
danipl merged commit b320462 into stable Oct 29, 2026
11 checks passed
@danipl
danipl deleted the dp-20261029-fix-rabbitmq-image-push-ifc-3505 branch October 29, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/skip-changelog No changelog fragment required for this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants