Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public Docker Hub OCI registry Feed Package search does not work in the Feed save and test or in an Octopus Step #8983

Open
Clare-Octopus opened this issue Aug 22, 2024 · 0 comments
Labels
kind/bug This issue represents a verified problem we are committed to solving

Comments

@Clare-Octopus
Copy link

Clare-Octopus commented Aug 22, 2024

Severity

Not blocking customers but its confusing when they try and package search in the feed test and find no packages and also confusing in the step when they try and find a package.

Version

2024.2.9391 / 2024.3.10989

Latest Version

I could reproduce the problem in the latest build

What happened?

You will now need to authenticate to Docker Hub Public Repositories by following the workaround in this GitHub issue first if you are not using Username/Password in your OCI Registry Public Docker Hub external feed otherwise you will encounter an authentication issue when trying to deploy.

If you do have the feed setup correctly (considering the bug above) and are using a PAT and your DockerHub username for the external feed when you try and test the feed and search for a package that does not work and brings back no packages:

image

When you then try and search for the package in a step (Deploy a Helm chart) it does not find a package:

image

Note, if you manually enter the repository and package name into the step (ie if using our Octopus Helm Chart you need to type octopusdeploy/octopusdeploy-helm) you will be able to create a release, find the package version and deploy successfully, its just the searching endpoint that is an issue here.

Reproduction

  1. Ensure you have a username and PAT in your OCI Registry Docker Hub Feed by following the workaround in this GitHub issue (if you have no username/pw in there already - the password needs to be a PAT).
  2. Test the feed and type the repository and package name in (ie if using our Octopus Helm Chart you need to type octopusdeploy/octopusdeploy-helm).
  3. Create a new project and include a Deploy a Helm Chart Step.
  4. For the Chart Package action in that step chose the OCI Registry Feed from Step 1.
  5. Physically type the repository and package name in (ie if using our Octopus Helm Chart you need to type octopusdeploy/octopusdeploy-helm).
  6. See there are no results found.
  7. Save the step with the repository and package name inputted manually and create the release, see it finds the package and versions.
  8. You should be able to deploy successfully.

Error and Stacktrace

N/A

More Information

Initial customer ticket (internal) - https://octopus.zendesk.com/agent/tickets/200053
R and D (internal) - https://octopusdeploy.slack.com/archives/CNHBHV2BX/p1724319338369569

Workaround

No workaround required, you will just have to manually enter the repository and package name into the step (ie if using our Octopus Helm Chart you need to type octopusdeploy/octopusdeploy-helm) and save that.

The search function for the feed will not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

1 participant