8beeaf84653284c3bd9dcef6e34d34546309a716
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Docker Build and Push GitHub Actions Workflow
A Reusable Workflow of the Docker GitHub Actions steps. Enhanced with learnings from production use.
Reasons to use this workflow
- Easier to start with than hand-building all the Docker Actions into a single workflow.
- Provides inline docs based on real-world usage of this workflow.
- Gives you inputs so you can reuse this workflow across many repositories and only needing the full workflow stored in a central repository.
Basic workflow steps
- Clone the repository
- Setup QEMU for multi-platform building (buildx) via docker/setup-qemu-action
- Setup buildx (the best image builder) via docker/setup-buildx-action
- Log into Docker Hub and/or GHCR
- Add labels and tags via docker/metadata-action
- Build and push image via docker/build-push-action
Languages
Dockerfile
100%