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

Explore using Github Packages instead of Docker for container hosting #30

Closed
schmidtw opened this issue Jun 20, 2024 · 1 comment
Closed

Comments

@schmidtw
Copy link

Since the reuse-action is focused on Github Actions and Github provides free container hosting would the project consider using the Github hosting?

We just ran into cases where docker.io is not allowing authentication & while no hosting service is perfect, Github has a vested interest in keeping Github Actions working and subsequently the Package hosting needed for that infrastructure is critical to Github.

0 building with "default" instance using docker driver
  
  #1 [internal] load build definition from Dockerfile
  #1 transferring dockerfile: 359B done
  #1 DONE 0.0s
  
  #2 [auth] fsfe/reuse:pull token for registry-1.docker.io
  #2 DONE 0.0s
  
  #3 [internal] load metadata for docker.io/fsfe/reuse:3
  #3 ERROR: failed to authorize: failed to fetch oauth token: unexpected status from POST request to https://auth.docker.io/token: 503 Service Unavailable
  ------
   > [internal] load metadata for docker.io/fsfe/reuse:3:
  ------
  Dockerfile:5
  --------------------
     3 |     # SPDX-License-Identifier: GPL-3.0-or-later
     4 |     
     5 | >>> FROM fsfe/reuse:3
     6 |     
     7 |     # Copy reuse wrapper used as entrypoint
  --------------------
  ERROR: failed to solve: fsfe/reuse:3: failed to resolve source metadata for docker.io/fsfe/reuse:3: failed to authorize: failed to fetch oauth token: unexpected status from POST request to https://auth.docker.io/token: 503 Service Unavailable
@mxmehl
Copy link
Member

mxmehl commented Jun 21, 2024

That's weird, thanks for the report. So is this a problem between GitHub Actions (Runner) and DockerHub?

Releasing images on an alternative container registry would be a task for the reuse-tool repo. I've left a comment here: fsfe/reuse-tool#865 (comment)

I'd close this issue here as it doesn't seem to be caused by the reuse action per se. If you disagree, please comment.

@mxmehl mxmehl closed this as completed Jun 21, 2024
@mxmehl mxmehl closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants