This PR introduces a new GitHub Actions workflow for automating the Docker image build and push process for the FOSSLight Scanner project. The workflow is designed to streamline our release process and ensure consistent, multi-platform Docker images are available for each release.
Key features of this workflow:
Automatically triggers on release publication
Builds Docker images for multiple platforms (linux/amd64, linux/arm64)
Pushes images to DockerHub with both 'latest' and release-specific tags
This automation will significantly reduce manual effort in our release process, ensure consistency across releases, and make our Docker images more accessible to users on different platforms.
Implementation Details:
Added a new workflow file .github/workflows/docker-build-push.yml
Configured to use Docker Buildx for multi-platform builds
Utilizes GitHub Secrets for secure DockerHub authentication
Testing:
The workflow has been tested on a feature branch to ensure it correctly builds and pushes images
Verified that both 'latest' and release-specific tags are correctly applied
Next Steps:
Monitor the workflow during the next release to ensure smooth operation
Consider adding additional platforms if needed in the future
This change does not affect the core functionality of FOSSLight Scanner, but enhances our deployment and distribution process.
Type of change
Please insert 'x' one of the type of change.
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[x] Refactoring, Maintenance
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
This PR introduces a new GitHub Actions workflow for automating the Docker image build and push process for the FOSSLight Scanner project. The workflow is designed to streamline our release process and ensure consistent, multi-platform Docker images are available for each release.
Key features of this workflow:
This automation will significantly reduce manual effort in our release process, ensure consistency across releases, and make our Docker images more accessible to users on different platforms.
Implementation Details:
.github/workflows/docker-build-push.yml
Testing:
Next Steps:
This change does not affect the core functionality of FOSSLight Scanner, but enhances our deployment and distribution process.
Type of change
Please insert 'x' one of the type of change.