GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: flux OCIRepository autodiscovery with digest by rowan-walsh · Pull Request #9744 · updatecli/updatecli

Conversation

@rowan-walsh

@rowan-walsh rowan-walsh commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Update OCIRepository autodiscovery manifest templates to put the digest (without leading "@") into the separate $.spec.ref.digest key, instead of both tag@digest in the $.spec.ref.tag key.

Fixes #9743

Test

To test this pull request, you can run the following commands:

cd <to_package_directory>
go test

Additional Information

Checklist

  • [N/A] I have updated the documentation via pull request in website repository.

Tradeoff

Potential improvement

The autodiscovery manifests will fail if the target OCIRepository does not already have the digest key. I looked into adding a "CreateMissingKey" field in the yaml target spec, but the scope of work became much bigger than this fix. Better as a separate change I think.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rowan-walsh
fix: flux OCIRepository autodiscovery with digest
0fe2d39
Update OCIRepository autodiscovery manifest templates to put the digest
(without leading "@") into the separate `$.spec.ref.digest` key.
@olblak

olblak commented Jul 30, 2026

Copy link
Copy Markdown
Member

Thanks for the pullrequest, can you confirm that you tested manually on your project?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

olblak
olblak approved these changes Jul 30, 2026
View reviewed changes
@mergify

mergify Bot commented Jul 30, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

olblak added 2 commits July 30, 2026 18:23
@olblak
Merge branch 'main' into issue/9743
e6517b6
@olblak
Merge branch 'main' into issue/9743
86fffaa
@rowan-walsh

rowan-walsh commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the pullrequest, can you confirm that you tested manually on your project?

Yes, the changes seem to fix the issue on my end.
And thanks for the quick review, updatecli is a very helpful tool.

olblak reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@olblak
Merge branch 'main' into issue/9743
4e43117
olblak
olblak approved these changes Aug 2, 2026
View reviewed changes
@olblak olblak added the bug Something isn't working label Aug 2, 2026
@olblak
olblak enabled auto-merge (squash) August 2, 2026 12:50
@olblak olblak added the flux label Aug 2, 2026
@olblak
olblak merged commit a065815 into updatecli:main Aug 2, 2026
8 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rowan-walsh
rowan-walsh deleted the issue/9743 branch August 3, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@olblak olblak olblak approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working flux

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Flux autodiscovery manifests are invalid for OCIRepositories when digest=true

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@rowan-walsh @olblak
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.