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: |