From dc67057d1a1931aaf058677c7724a10697923a84 Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Tue, 10 Oct 2023 11:23:24 -0400 Subject: [PATCH] add additional comment around no-cache --- .github/workflows/reusable_dockerfile_pipeline.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/reusable_dockerfile_pipeline.yml b/.github/workflows/reusable_dockerfile_pipeline.yml index 315621c..74a5419 100644 --- a/.github/workflows/reusable_dockerfile_pipeline.yml +++ b/.github/workflows/reusable_dockerfile_pipeline.yml @@ -192,6 +192,9 @@ jobs: OUTPUT_IMAGE_NAME: ${{ needs.prepare-env.outputs.output_image_name }} with: context: . + # We don't use the cache to reduce complexity. We've seen issues of + # the same commit from a PR and on main causing incorrect images being + # built. no-cache: true provenance: false platforms: linux/amd64 @@ -215,6 +218,9 @@ jobs: OUTPUT_IMAGE_NAME: ${{ needs.prepare-env.outputs.output_image_name }} with: context: . + # We don't use the cache to reduce complexity. We've seen issues of + # the same commit from a PR and on main causing incorrect images being + # built. no-cache: true platforms: linux/amd64,linux/arm64 provenance: false