From 195961ae83190083526614f0fb923584f42fff04 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Tue, 11 Feb 2025 19:47:29 -0800 Subject: [PATCH] ci: only push dev container on commit to main --- .github/workflows/dev_container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dev_container.yml b/.github/workflows/dev_container.yml index f64d29b684..b3f9542ead 100644 --- a/.github/workflows/dev_container.yml +++ b/.github/workflows/dev_container.yml @@ -96,6 +96,6 @@ jobs: platforms: | linux/amd64 provenance: mode=max - push: true + push: ${{ github.event_name != 'pull_request' }} cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/,manifests_prefix=cache/${{ github.repository }}/,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }} cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/,manifests_prefix=cache/${{ github.repository }}/,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max