Skip to content

Automated clone of chef/chef:latest to GitHub container registry

License

Notifications You must be signed in to change notification settings

Firefishy/chef-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chef Docker Image

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.

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:

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 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.

About

Automated clone of chef/chef:latest to GitHub container registry

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages