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

Switch Docker image source from Docker Hub to GHCR #211

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Feb 3, 2022

fixes GH-210

@atc0005 atc0005 added this to the Next Release milestone Feb 3, 2022
@atc0005 atc0005 self-assigned this Feb 3, 2022
@atc0005
Copy link
Owner Author

atc0005 commented Feb 3, 2022

CI failures are due to v0.5.0 image uploads still WIP from a build machine. Will re-run CI jobs once the uploads complete.

@atc0005
Copy link
Owner Author

atc0005 commented Feb 3, 2022

Note to future self: due to bandwidth issues between build box and destinations, it takes ~ 30 minutes to build & upload images.

@atc0005
Copy link
Owner Author

atc0005 commented Feb 3, 2022

CI failures are due to v0.5.0 image uploads still WIP from a build machine. Will re-run CI jobs once the uploads complete.

That was one source of the failures. Another is the Makefile-driven builds, tests, etc. That workflow assumes it is working with the standard/upstream golang image (which doesn't have customizations applied) which is not available via ghcr.io.

- search/replace most image references
  - we're fortunate that hadolint is mirrored both places already
- replace direct upstream reference for "latest" `golang` image
  with our "mirror" image which is a very lightly touched
  variation of that image (mostly metadata tweaks)

refs GH-210
refs atc0005/go-ci#507
@atc0005 atc0005 force-pushed the i210-switch-image-source-to-ghcr branch from 436b8da to 6828642 Compare February 3, 2022 12:10
atc0005 added a commit to atc0005/go-ci that referenced this pull request Feb 3, 2022
- add new Dockerfile to build lightly touched variation of
  upstream `golang` image
  - add additional metadata tying the image to the atc0005/go-ci
    repo
- update dependabot config to monitor the new Dockerfile for
  image version updates
- update README to cover new image
- update Makefile to handle building and uploading new image

refs GH-507
refs atc0005/send2teams#211
refs atc0005/send2teams#210
@atc0005 atc0005 merged commit d451f8d into master Feb 4, 2022
@atc0005 atc0005 deleted the i210-switch-image-source-to-ghcr branch February 4, 2022 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Switch Docker image source from Docker Hub to GitHub Container Registry (GHCR)
1 participant