File tree Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change 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 :
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
Original file line number Diff line number Diff line change @@ -3,17 +3,12 @@ name: Docker test build
33on :
44 pull_request :
55
6- env :
7- REGISTRY : ghcr.io
8- IMAGE_NAME : ${{ github.repository }}
9-
106concurrency :
117 group : ${{ github.workflow }}-${{ github.ref }}
128 cancel-in-progress : true
139
1410permissions :
1511 contents : read
16- packages : write
1712
1813jobs :
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
You can’t perform that action at this time.
0 commit comments