diff options
| author | Tobias McNulty <tobias@caktusgroup.com> | 2025-09-23 21:25:59 -0400 |
|---|---|---|
| committer | Tobias McNulty <tobias@caktusgroup.com> | 2025-09-23 21:25:59 -0400 |
| commit | bf1ca4bbe9b3dfe76d51e78df4da8180f222e83e (patch) | |
| tree | ab5a0e16f57e93a6c91d3d8b14b3d44f979093f9 /.github | |
| parent | 1768ba5bb7edc3ca6d293c55ce34c7f63edd5875 (diff) | |
Revert "Added cache for GitHub Actions Docker builds (#2214)"
This reverts commit a2a11c98383828be8f587213ff3c62a2c66d5a3f.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/docker-publish.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/docker-test-build.yml | 17 |
2 files changed, 0 insertions, 22 deletions
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 |
