Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: update docker build-push-action to v5 and utilize github's #352

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

gfranxman
Copy link
Member

buildkit cache

  • Switched to Docker's build-push-action from version 2 to version 5 in the setup-project.yaml workflow file.
  • Included context and file fields set to current directory and Dockerfile respectively.
  • Added cache-from and cache-to fields with type=gha and mode=max to make use of GitHub's BuildKit cache for Docker builds.

Unverified

This user has not yet uploaded their public signing key.
buildkit cache

- Switched to Docker's build-push-action from version 2 to version 5 in the setup-project.yaml
workflow file.
- Included context and file fields set to current directory and Dockerfile respectively.
- Added cache-from and cache-to fields with type=gha and mode=max to make use of GitHub's BuildKit
cache for Docker builds.
This commit includes Docker Buildx in the setup of the GitHub workflow. This change will improve
the Docker build performance by enabling BuildKit and providing more specific commands for building
and pushing Docker images.
@daveoconnor daveoconnor merged commit cf0b2e4 into main Sep 4, 2024
4 checks passed
@daveoconnor daveoconnor deleted the gfranxman/use-githubs-buildkit-cache branch September 4, 2024 03:58
rochecompaan pushed a commit that referenced this pull request Sep 4, 2024
## [1.14.0](v1.13.2...v1.14.0) (2024-09-04)

### Features

* update docker build-push-action to v5 and utilize github's ([#352](#352)) ([cf0b2e4](cf0b2e4))
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement buildkit cache mounts in the Dockerfile to speed up builds
3 participants