{"repo":"macbre/push-to-ghcr","free":true,"listed":false,"github":"https://github.com/macbre/push-to-ghcr","clone":"git clone https://github.com/macbre/push-to-ghcr.git","description":"This action simplifies pushes of container images to ghcr.io repository and the Docker Hub","language":"Dockerfile","stars":42,"topics":["ghcr","actions-docker","containers","github-actions-docker","opencontainers","continuous-delivery","docker","github-actions"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"push-to-ghcr This action simplifies pushes of container images to the GitHub Containers Registry at ghcr.io. Dockerfile from your repository is build and published on: release event (releases named vx.y.z ) your image will be tagged with x.y.z push event your image will be tagged with latest Additionally, this action will also automatically lowercase the repository name to be able to push an image to the repository. This action also supports multi-tagging of image and multi-platform builds . Private containers Images built for private repositories will be published as private containers to ghcr.io. Please refer to GitHub's documentation on how to set up access to them via personal access token (also known as PAT). PAT can be created in \"Developer settings\" panel. How to use it? Create a new GitHub Actions workflow as follows: This action assumes that your Dockerfile is in the root directory of your repository . However, you can use dockerfile input to specify a different path (relative to the root directory of your repository). Additionaly, context input can also be provided. Docker docs should provide more context on context ;). Input parameters github token ( required ): Your secrets.GITHUB TOKEN image name ( required ): Image name, e.g. my-user-name/my-repo (will be lowercased internally) dockerfile (defaults to ./Dockerfile ): A path to the Dockerfile (if it's not in the repository's root directory) context (defaults to . ): A path to the context in which the build will h","default_branch":null,"files":null,"tree":[],"storefront":"/r/macbre","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/macbre/push-to-ghcr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}