Skip to content

Commit

Permalink
ostree: Use local name when creating deployment
Browse files Browse the repository at this point in the history
This will address osbuild/bootc-image-builder#69

(But not marking closes because we need to update the vendor there)
  • Loading branch information
cgwalters committed Jan 16, 2024
1 parent c8bb519 commit 5828a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/manifest/ostree_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ func (p *OSTreeDeployment) doOSTreeContainerSpec(pipeline *osbuild.Pipeline, rep
// The ostree-remote case is unusual; it may be used by FCOS/Silverblue for example to handle
// embedded GPG signatures
if p.Remote.Name != "" {
targetImgref = fmt.Sprintf("ostree-remote-registry:%s:%s", p.Remote.Name, p.containerSpec.Source)
targetImgref = fmt.Sprintf("ostree-remote-registry:%s:%s", p.Remote.Name, p.containerSpec.LocalName)
} else {
targetImgref = fmt.Sprintf("ostree-unverified-registry:%s", p.containerSpec.Source)
targetImgref = fmt.Sprintf("ostree-unverified-registry:%s", p.containerSpec.LocalName)
}

options := &osbuild.OSTreeDeployContainerStageOptions{
Expand Down

0 comments on commit 5828a77

Please sign in to comment.