Skip to content

Move from Docker Hub to GitHub Container Registry#19

Merged
vweevers merged 6 commits intomasterfrom
ghcr
Jul 31, 2021
Merged

Move from Docker Hub to GitHub Container Registry#19
vweevers merged 6 commits intomasterfrom
ghcr

Conversation

@vweevers
Copy link
Copy Markdown
Member

@vweevers vweevers commented Jul 30, 2021

Instead of Docker Hub Autobuild (#16), use a GitHub Actions workflow that is triggered by a git tag and publishes images to the GitHub Container Registry. Making image changes more explicit, though further work will be required to fully prevent accidental breaking changes like #17.

In this new workflow, each image gets version tags sourced from the git tag, starting at version 1.0.0. E.g. one can pull prebuild/alpine:1, prebuild/alpine:1.0, prebuild/alpine:1.0.0 or (same as before) prebuild/alpine:latest. This will allow us to make breaking changes like #15 and #10.

And add version tags, starting at version 1. E.g. one can pull
"prebuild/alpine:1" or (same as before) "prebuild/alpine:latest".
@vweevers vweevers requested a review from ralphtheninja as a code owner July 30, 2021 21:35
vweevers added a commit to prebuild/prebuildify-cross that referenced this pull request Jul 31, 2021
Depends on prebuild/docker-images#19. Effectively fixes a critical
bug (prebuild/docker-images#17) for dockcross-based images. Those
are:

- `linux-armv6`
- `linux-armv7`
- `linux-arm64`
- `android-armv7`
- `android-arm64`

Also pins image versions (to version 1) by default, which is now
possible because the images are tagged with version numbers in
addition to the `latest` tag.

Image descriptions have moved to the prebuild/docker-images
repository.
@vweevers vweevers merged commit 480b163 into master Jul 31, 2021
@vweevers vweevers deleted the ghcr branch July 31, 2021 19:35
vweevers added a commit to prebuild/prebuildify-cross that referenced this pull request Aug 1, 2021
Depends on prebuild/docker-images#19. Effectively fixes a critical
bug (prebuild/docker-images#17) for dockcross-based images. Those
are:

- `linux-armv6`
- `linux-armv7`
- `linux-arm64`
- `android-armv7`
- `android-arm64`

Also pins image versions (to version 1) by default, which is now
possible because the images are tagged with version numbers in
addition to the `latest` tag.

Image descriptions have moved to the prebuild/docker-images
repository.

Uses a temporary fork of the docker-pull npm package in order to
include mafintosh/docker-pull#2.
@ralphtheninja
Copy link
Copy Markdown
Member

@vweevers Super nice! Sorry for not getting back in a timely fashion.

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

Successfully merging this pull request may close these issues.

2 participants