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

Docker images are not published #315

Open
sylwit opened this issue Feb 20, 2024 · 11 comments
Open

Docker images are not published #315

sylwit opened this issue Feb 20, 2024 · 11 comments
Assignees
Labels
bug Something isn't working has-workaround

Comments

@sylwit
Copy link

sylwit commented Feb 20, 2024

Hi all,

Is there a reason why docker images are no longer published to any registry ?
https://github.com/transcend-io/terragrunt-atlantis-config/actions/runs/7702980093 action exists but fails

Thank you

@Almenon
Copy link
Collaborator

Almenon commented Feb 21, 2024

The action was broken when the most recent tag was created. Theoretically it should be fixed now. I just kicked off another run: https://github.com/transcend-io/terragrunt-atlantis-config/actions/runs/7984012107/job/21800132831

..... which failed. Looks like that will need to be fixed :|

@Almenon Almenon added the bug Something isn't working label Feb 21, 2024
@sylwit
Copy link
Author

sylwit commented Feb 21, 2024

I think you're using a PAT that might have expired.
You can probably used the config for ghcr described here
https://github.com/docker/login-action?tab=readme-ov-file#github-container-registry

@Almenon
Copy link
Collaborator

Almenon commented Feb 21, 2024

That's a good guess, but we no longer use a PAT. You can see our current config here: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/.github/workflows/container-build.yml

@Almenon
Copy link
Collaborator

Almenon commented Feb 21, 2024

I'm not a maintainer. I forked the repo and verified that the action works correctly in my fork, so it looks like maybe some repo/package/org settings are incorrect in this repo. @dmattia can you look around, please?

Relevant: docker/build-push-action#463 (comment)
I would take a look at the package settings and see if those look correct

for example: https://i.imgur.com/wSQdxJt.png

@dmattia
Copy link
Member

dmattia commented Mar 7, 2024

I've been diving into this, but am a bit confused still unfortunately.

I can verify on the package page that newer versions have not been published: https://github.com/transcend-io/terragrunt-atlantis-config/pkgs/container/terragrunt-atlantis-config%2Fslim

and I see that the run by @Almenon failed two weeks ago: https://github.com/transcend-io/terragrunt-atlantis-config/actions/runs/7984012107/attempts/1

but when I retried the job, it seems to have gotten a bit further, but still failed to push with a perms error after 10 mins: https://github.com/transcend-io/terragrunt-atlantis-config/actions/runs/7984012107/job/22403210971

When I view the package settings, it seems like you (and I as part of the Engineers group) should have access:
Screenshot 2024-03-07 at 11 25 01 AM
-config/actions/runs/7984012107/job/22403210971

I'm not sure what other settings I may be missing:

Screenshot 2024-03-07 at 11 44 45 AM

@sylwit
Copy link
Author

sylwit commented Mar 22, 2024

@dmattia can you try to add the permissions contents: read in the workflow please

@dmattia
Copy link
Member

dmattia commented Mar 29, 2024

@dmattia
Copy link
Member

dmattia commented Mar 29, 2024

@dmattia
Copy link
Member

dmattia commented Mar 29, 2024

I might just switch to trying Docker Hub maybe... That may take a bit more time though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has-workaround
Projects
None yet
Development

No branches or pull requests

4 participants