Skip to content

Commit bf1ca4b

Browse files
committed
Revert "Added cache for GitHub Actions Docker builds (#2214)"
This reverts commit a2a11c9.
1 parent 1768ba5 commit bf1ca4b

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ jobs:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
2121

22-
- name: Set up Docker Buildx
23-
uses: docker/setup-buildx-action@v3
24-
2522
- name: Log in to the Container registry
2623
uses: docker/login-action@v3
2724
with:
@@ -47,5 +44,3 @@ jobs:
4744
push: true
4845
tags: ${{ steps.meta.outputs.tags }}
4946
labels: ${{ steps.meta.outputs.labels }}
50-
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache:bc-publish-${{ github.ref_name }}
51-
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache:bc-publish-${{ github.ref_name }},mode=max

.github/workflows/docker-test-build.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,12 @@ name: Docker test build
33
on:
44
pull_request:
55

6-
env:
7-
REGISTRY: ghcr.io
8-
IMAGE_NAME: ${{ github.repository }}
9-
106
concurrency:
117
group: ${{ github.workflow }}-${{ github.ref }}
128
cancel-in-progress: true
139

1410
permissions:
1511
contents: read
16-
packages: write
1712

1813
jobs:
1914
build-image:
@@ -30,22 +25,10 @@ jobs:
3025
- name: Checkout repository
3126
uses: actions/checkout@v4
3227

33-
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@v3
35-
36-
- name: Log in to the Container registry
37-
uses: docker/login-action@v3
38-
with:
39-
registry: ${{ env.REGISTRY }}
40-
username: ${{ github.actor }}
41-
password: ${{ secrets.GITHUB_TOKEN }}
42-
4328
- name: Test docker image build (local development)
4429
uses: docker/build-push-action@v6
4530
with:
4631
context: .
4732
push: false
4833
build-args: |
4934
REQ_FILE=requirements/${{ matrix.req_file }}
50-
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache:bc-test-build-${{ matrix.req_file }}
51-
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-buildcache:bc-test-build-${{ matrix.req_file }},mode=max

0 commit comments

Comments
 (0)