From 84e95d0809a459ce95ddb46bf16a4397046b380e Mon Sep 17 00:00:00 2001 From: "David J. Malan" Date: Sat, 16 Mar 2024 15:49:17 -0400 Subject: [PATCH] removed squashing for develop branch since trivial gains --- .github/workflows/main.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ce9f30..c895332 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,12 +31,6 @@ jobs: cache-from: type=registry,ref=cs50/cli:amd64-buildcache cache-to: type=registry,ref=cs50/cli:amd64-buildcache,mode=max - - name: Squash for linux/amd64 - if: ${{ github.ref == 'refs/heads/develop' }} - run: | - pip3 install docker-squash - docker-squash --tag cs50/cli:amd64 cs50/cli:amd64 - - name: Push linux/amd64 build to Docker Hub if: ${{ github.ref == 'refs/heads/main' }} run: | @@ -53,12 +47,6 @@ jobs: cache-from: type=registry,ref=cs50/cli:arm64-buildcache cache-to: type=registry,ref=cs50/cli:arm64-buildcache,mode=max - - name: Squash for linux/arm64 - if: ${{ github.ref == 'refs/heads/develop' }} - run: | - pip3 install docker-squash - docker-squash --cleanup --tag cs50/cli:arm64 cs50/cli:arm64 - - name: Push linux/arm64 build to Docker Hub if: ${{ github.ref == 'refs/heads/main' }} run: |