⚠️ BREAKING CHANGE
This is a major breaking change from v1. The build-push-action now requires the use of useblacksmith/setup-docker-builder@v1 action before it can be used.
What's Changed
- Removed: All buildkit setup and stickydisk management functionality has been removed from this action
- Removed: The action no longer handles buildkit lifecycle management (setup/teardown)
- New Requirement: You MUST use
useblacksmith/setup-docker-builder@v1before using this action
Migration Guide
Before (v1):
- name: Build and push
uses: useblacksmith/build-push-action@v1
with:
push: true
tags: user/app:latestAfter (v2):
- name: Setup Docker Builder
uses: useblacksmith/setup-docker-builder@v1
- name: Build and push
uses: useblacksmith/build-push-action@v2
with:
push: true
tags: user/app:latestWhy This Change?
The separation of concerns provides better modularity:
setup-docker-builderhandles all buildkit and stickydisk managementbuild-push-actionfocuses solely on Docker builds and metrics reporting
What This Action Now Does
- Runs Docker builds against the Blacksmith builder (set up by setup-docker-builder)
- Reports Docker metrics to the Blacksmith control plane
- All other Docker build functionality remains the same