Skip to content

fix: login to both snapshots and releases registries on build - #224

Open
jalvarezit wants to merge 3 commits into
mainfrom
fix/login-both-registries
Open

fix: login to both snapshots and releases registries on build#224
jalvarezit wants to merge 3 commits into
mainfrom
fix/login-both-registries

Conversation

@jalvarezit

Copy link
Copy Markdown
Contributor

When building an image that uses a base image from the opposite registry
(e.g. a releases image FROM a snapshots base image), the build would fail
because Dagger was only authenticated in the registry matching the build type.

Now both snapshots_registry and releases_registry are always logged into
(when login_required is true and the registry is set), so cross-registry
base image references work in both directions.

Closes prefapp/features#1169
@jalvarezit
jalvarezit requested a review from a team as a code owner July 27, 2026 16:51
When building an image that uses a base image from the opposite registry
(e.g. a releases image FROM a snapshots base image), the build would fail
because Dagger was only authenticated in the registry matching the build type.

Now both snapshots_registry and releases_registry are always logged into
(when login_required is true and the registry is set), so cross-registry
base image references work in both directions.

Closes prefapp/features#1169
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