This project provides a streamlined workflow for building and publishing Docker image of Python libraries. The automated workflow is triggered by a push to the main branch, a pull request to the main branch, or a scheduled cron job
- Before using this project, ensure that you have Docker installed
- Use the GitHub Packages to pull the latest Docker Image
- Run the following command using Docker CLI or a local terminal for pulling the latest docker image
# Example on how to pull the docker image from the Container Registry
docker pull ghcr.io/skadio/atlas_docker:x.x.xMake any necessary changes to the Dockerfile or the requirements.txt file based on any specific project requirements Commit and push your changes to the main branch. This will trigger the automated workflow The workflow will then perform the following tasks:
- Bump the version number using semver
- Build the Docker image with the updated version
- Push the Docker image to the GitHub Container Registry
After the workflow completes successfully, the new Docker image will be available in the GitHub Container Registry