-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Publish docker images on Github Container Registry #1425
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@InvisibleRain GitHub CI actually uses the docker files in the install/docker directory, however your pull request does not modify them. Is the new Label option necessary for uploading Docker images to the GitHub Container Registry? |
@MarksonHon The label is not strictly required for the GitHub Actions, but it's useful when pushing a manually built image from a personal computer.
|
The images are currently marked as private. I think it might be a good idea to change visibility in "Package settings" |
@InvisibleRain Done |
ci: add version number to filename ci: windows version should be win10 at least chore(docker): Publish docker images on Github Container Registry (v2rayA#1425) * Temporary test * Push containers to ghcr.io via GitHub Actions * replace tabs with spaces * temporary comment out dockerhub * temporary comment out dockerhub for gui * revertme: remove non-ghcr docker image tags * convert repo owner name to lowercase * fix conversion to lowercase * fix typo, move lowercase conversion to calculate sooner * copy lowercase conversion to both jobs * fix typo * add labels to gui and dev Dockerfiles * specify correct push path for the ghcr.io * fix typo * hardcode image name * specify correct labels for upstream * add dockerhub tags * uncomment dockerhub login * restore Dockerfile.dev
This pull request aims to publish the docker images of v2rayA on ghcr.io in addition to already existing images on Docker Hub. The images are built and published using GitHub Actions every time a new v2rayA version is tagged. After the "Build & Release v2rayA" workflow completes, these images will be available under the "Packages" section of the repository. After the workflow has completed, you can use this command to download the image:
docker pull ghcr.io/v2raya/v2raya:latest