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

Support GitHub container registry #6567

Closed
MJRichardson opened this issue Sep 9, 2020 · 5 comments
Closed

Support GitHub container registry #6567

MJRichardson opened this issue Sep 9, 2020 · 5 comments
Assignees
Labels
feature/containers kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time
Milestone

Comments

@MJRichardson
Copy link

Technically Octopus already supported GHCR, though you would never guess it from the experience of trying to configure it.

GHCR has not (yet) implemented the Docker catalog API which allows search for repositories.

This is resulting in the UI not behaving nicely when:

Testing the feed:
image

Selecting packages:
image

Creating releases:
image

The actual deployment (or runbook run) proceeds fine, as docker pull is supported.

We need to make the UI handle this situation more gracefully.

@MJRichardson MJRichardson added kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time feature/containers labels Sep 9, 2020
@MJRichardson MJRichardson self-assigned this Sep 9, 2020
@octoreleasebot octoreleasebot added this to the 2020.5.0 milestone Sep 9, 2020
@octoreleasebot
Copy link

Release Note: GitHub Container Registry now supported more gracefully

@arublevsky
Copy link

arublevsky commented Dec 8, 2020

UPD: solved one issue by prefixing package name with the username (package owner) like arublevsky/sound-mastery-client then it works fine - it finds packages. But still deployment fails with the error The Docker Registry v2 'GitHub Container Registry' at https://ghcr.io does not support downloading packages on the Octopus Server.

@MJRichardson hey, I'm trying to use GHCR for my deployments but it fails to download the package and I can't solve that problem:
When creating a release I'm getting this error:
image
When trying to deploy it:
image
My feed settings:
image

Actually GHCR URL should contain a user name (docker push works fine for it ghcr.io/arublevsky/sound-mastery-client:${APP_VERSION) but I haven't find a way to set it up somewhere, so I'm kinda stuck 😞. Can you help me with this? Is there a documentation describing GHCR setup somewhere?

@mthird
Copy link

mthird commented Aug 10, 2021

@arublevsky did you ever get this working?

@aerott
Copy link

aerott commented Nov 8, 2021

Hello fellows, I see I cannot use Github container registry using PAT (personal access token) authentication :) I need this because I've got enabled 2FA auth on organization account.. :(

@Misiu
Copy link

Misiu commented Nov 9, 2021

I'm searching for a similar thing. Can't we use an access token instead of user credentials?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/containers kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time
Projects
None yet
Development

No branches or pull requests

6 participants