Multi arch image architecture - #10
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a GitHub Actions workflow to build and push multi-architecture Docker images, supporting both amd64 and arm64 platforms. The workflow automates Docker image builds on pushes to main/master branches, tags, and pull requests, with automatic tagging based on branch names, semantic versioning, and latest tags for the default branch.
Key Changes:
- Implements multi-architecture Docker image building for linux/amd64 and linux/arm64 platforms
- Configures automated Docker Hub publishing with metadata-driven tagging strategy
- Sets up Docker Buildx with QEMU for cross-platform builds and GitHub Actions caching
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| - name: Image digest | ||
| run: echo "Image pushed with digest ${{ steps.build.outputs.digest }}" |
There was a problem hiding this comment.
The step references steps.build.outputs.digest, but the build step (line 57-66) has no id defined. The step should reference steps.meta.outputs.digest or add id: build to the 'Build and push Docker image' step.
| - master | ||
| tags: | ||
| - "v*" | ||
| pull_request: |
There was a problem hiding this comment.
I would suggest to only leave trigger on push (and potentially workflow_dispatch), on pull request is probably unneccessary.
Added multi arch image architecture build to github actions