https://github.com/firefishy/chef-docker-image
Automated clone of chef/chef:latest to GitHub container registry
https://github.com/firefishy/chef-docker-image
chef docker-image
Last synced: over 1 year ago
JSON representation
Automated clone of chef/chef:latest to GitHub container registry
- Host: GitHub
- URL: https://github.com/firefishy/chef-docker-image
- Owner: Firefishy
- License: mit
- Created: 2024-10-29T15:04:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-04T10:29:43.000Z (over 1 year ago)
- Last Synced: 2025-03-21T05:29:32.176Z (over 1 year ago)
- Topics: chef, docker-image
- Language: Dockerfile
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chef Docker Image
This repository provides a GitHub Action workflow to automatically build and publish a Docker image based on the latest [chef/chef](https://hub.docker.com/r/chef/chef) image. The resulting image is published to GitHub Container Registry at `ghcr.io/firefishy/chef-docker-image:latest`.
This repository will be made redundant when upstream issues https://github.com/chef/chef/issues/13907 and https://github.com/chef/chef/issues/14760 have been resolved.
## Repository Contents
- **Dockerfile**: Defines the Docker image, which extends `chef/chef:latest`.
- **GitHub Workflow**: The workflow located at `.github/workflows/docker-publish.yml` automates the build and push process to GitHub Container Registry.
## Usage
To use the image, pull it from GitHub Container Registry:
```sh
docker pull ghcr.io/firefishy/chef-docker-image:latest
```
## GitHub Actions Workflow
The workflow in this repository, `.github/workflows/docker-publish.yml`, triggers on every push to the main branch and builds the Docker image. The built image is then pushed to GitHub Container Registry under `ghcr.io/firefishy/chef-docker-image:latest`.
### Workflow Configuration
The workflow file contains the following steps:
1. **Checkout**: Checks out the repository.
2. **Login to GitHub Container Registry**: Authenticates with GitHub Container Registry.
3. **Build and Push Docker Image**: Builds the Docker image from the Dockerfile and pushes it to `ghcr.io/firefishy/chef-docker-image:latest`.
## Contributing
Contributions to improve this Docker image or workflow are welcome. Please submit a pull request with your changes.
## License and Disclaimer
This repository is licensed under the MIT License. See [LICENSE](LICENSE) for more information.
**Disclaimer**: This Docker image is based on the [chef/chef](https://hub.docker.com/r/chef/chef) image, and as such, remains subject to the original Chef image's licensing terms. Please consult Chef's license terms and ensure compliance when using this image.