https://github.com/termoshtt/github-docker-package-example
Example to use container registory of GitHub Packages
https://github.com/termoshtt/github-docker-package-example
Last synced: 22 days ago
JSON representation
Example to use container registory of GitHub Packages
- Host: GitHub
- URL: https://github.com/termoshtt/github-docker-package-example
- Owner: termoshtt
- License: cc0-1.0
- Created: 2021-04-10T08:31:51.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-10T09:52:26.000Z (almost 5 years ago)
- Last Synced: 2025-02-25T03:14:15.587Z (about 1 year ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-docker-package-example
Example to use container registory of GitHub Packages (docker.pkg.github.com), not GitHub container registry (ghcr.io)
Be sure that docker.pkg.github.com cannot upload using personal access token like ghcr.io. **You have to setup GitHub Actions, and can access only from GitHub Actions.**
GitHub Actions setup
---------------------
See [GitHub Actions setting](./.github/workflows/docker.yml). This action uploads the following container:
```
docker pull docker.pkg.github.com/termoshtt/github-docker-package-example/hello-world:latest
```