This repository provides a GitHub Action workflow to automatically build and publish a Docker image based on the latest 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 chef/chef#13907 and chef/chef#14760 have been resolved.
- 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.
To use the image, pull it from GitHub Container Registry:
docker pull ghcr.io/firefishy/chef-docker-image:latest
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
.
The workflow file contains the following steps:
- Checkout: Checks out the repository.
- Login to GitHub Container Registry: Authenticates with GitHub Container Registry.
- Build and Push Docker Image: Builds the Docker image from the Dockerfile and pushes it to
ghcr.io/firefishy/chef-docker-image:latest
.
Contributions to improve this Docker image or workflow are welcome. Please submit a pull request with your changes.
This repository is licensed under the MIT License. See LICENSE for more information.
Disclaimer: This Docker image is based on the 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.