From bf1ca4bbe9b3dfe76d51e78df4da8180f222e83e Mon Sep 17 00:00:00 2001 From: Tobias McNulty Date: Tue, 23 Sep 2025 21:25:59 -0400 Subject: Revert "Added cache for GitHub Actions Docker builds (#2214)" This reverts commit a2a11c98383828be8f587213ff3c62a2c66d5a3f. --- .github/workflows/docker-publish.yml | 5 ----- .github/workflows/docker-test-build.yml | 17 ----------------- 2 files changed, 22 deletions(-) (limited to '.github') diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 1d3a491c..7ff7903c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -19,9 +19,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Log in to the Container registry uses: docker/login-action@v3 with: @@ -47,5 +44,3 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache:bc-publish-${{ github.ref_name }} - cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache:bc-publish-${{ github.ref_name }},mode=max diff --git a/.github/workflows/docker-test-build.yml b/.github/workflows/docker-test-build.yml index 1f792ccc..57f9634b 100644 --- a/.github/workflows/docker-test-build.yml +++ b/.github/workflows/docker-test-build.yml @@ -3,17 +3,12 @@ name: Docker test build on: pull_request: -env: - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read - packages: write jobs: build-image: @@ -30,16 +25,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to the Container registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Test docker image build (local development) uses: docker/build-push-action@v6 with: @@ -47,5 +32,3 @@ jobs: push: false build-args: | REQ_FILE=requirements/${{ matrix.req_file }} - cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache:bc-test-build-${{ matrix.req_file }} - cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache:bc-test-build-${{ matrix.req_file }},mode=max -- cgit v1.3