Skip to content

fix(ci): build the EE image without the registry prefix - #324

Merged
markuslf merged 1 commit into
mainfrom
fix/ee-image-name
Aug 24, 2026
Merged

fix(ci): build the EE image without the registry prefix#324
markuslf merged 1 commit into
mainfrom
fix/ee-image-name

Conversation

@markuslf

Copy link
Copy Markdown
Member

Prepares lf-build.yml for redhat-actions/push-to-registry v3, which #319 wants to bump to.

v3 prefixes its push source with localhost/ (upstream issue #66, src/index.ts:328), while its existence check keeps using the bare image input, which podman also resolves to a local ghcr.io/... image. The EE was built as ghcr.io/<owner>/lfops_ee, so under v3 the check would pass and the push would fail with image not known. That failure would only surface during a release, after the collection is already on Galaxy.

Building the image unqualified stores it under localhost/, where both the check and the push find it.

Verified with podman 5.8.4 on Fedora 44:

  • podman image exists <owner>/lfops_ee:<tag> → rc=0 for both tags
  • podman push localhost/<owner>/lfops_ee:<tag> → rc=0 for both tags, the v3 path
  • podman push <owner>/lfops_ee:<tag> → rc=0, the v2.8 path, so this works with the currently pinned version too

ansible-builder passes --tag straight to podman build -t without normalising it (src/ansible_builder/main.py:196).

push-to-registry v3 prefixes its push source with localhost/, while its
existence check keeps using the bare `image` input, which podman also
resolves to a local ghcr.io/... image. An image built as
ghcr.io/<owner>/lfops_ee therefore passes the check and fails the push
with "image not known". Building it unqualified puts it under
localhost/, where both steps find it.

Works with the currently pinned v2.8 as well, so it can land before the
bump does.
@markuslf
markuslf merged commit 4b562bd into main Aug 24, 2026
12 checks passed
@markuslf
markuslf deleted the fix/ee-image-name branch August 24, 2026 06:21
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