docker / build-push-action

GitHub Action to build and push Docker images with Buildx
https://github.com/marketplace/actions/build-and-push-docker-images
Apache License 2.0
4.11k stars 527 forks source link

opt to disable build record upload #1172

Closed crazy-max closed 5 days ago

crazy-max commented 5 days ago

follow-up https://github.com/docker/actions-toolkit/pull/394 fixes https://github.com/docker/build-push-action/issues/1151

Adds DOCKER_BUILD_RECORD_UPLOAD environment variable to enable/disable build record upload as GitHub artifact (defaults to true).

Also rename DOCKER_BUILD_EXPORT_RETENTION_DAYS to DOCKER_BUILD_RECORD_RETENTION_DAYS to be consistent. We keep and mark as deprecated the old one.

Example: https://github.com/docker/build-push-action/actions/runs/9763012530?pr=1172#summary-26947857385

image