File tree Expand file tree Collapse file tree 7 files changed +15
-16
lines changed Expand file tree Collapse file tree 7 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 11**
2- ! contrib /containers /ci /Dockerfile
2+ ! contrib /containers /ci /ci. Dockerfile
33! contrib /containers /deploy /Dockerfile
44! contrib /containers /develop /Dockerfile
Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ jobs:
4545 uses : docker/build-push-action@v6
4646 with :
4747 context : ./contrib/containers/ci
48- file : ./contrib/containers/ci/Dockerfile
48+ file : ./contrib/containers/ci/ci. Dockerfile
4949 push : true
5050 tags : |
51- ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:${{ hashFiles('./contrib/containers/ci/Dockerfile') }}
51+ ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:${{ hashFiles('./contrib/containers/ci/ci. Dockerfile') }}
5252 ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:${{ steps.prepare.outputs.tag }}
5353 ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:latest
5454 cache-from : |
55- type=registry,ref=ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:${{ hashFiles('./contrib/containers/ci/Dockerfile') }}
55+ type=registry,ref=ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:${{ hashFiles('./contrib/containers/ci/ci. Dockerfile') }}
5656 type=registry,ref=ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:${{ steps.prepare.outputs.tag }}
5757 type=registry,ref=ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:latest
5858 cache-to : type=inline
Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ jobs:
7070 path : |
7171 depends/built
7272 depends/${{ steps.setup.outputs.HOST }}
73- key : depends-${{ hashFiles('contrib/containers/ci/Dockerfile') }}-${{ inputs.build-target }}-${{ steps.setup.outputs.DEP_HASH }}-${{ hashFiles('depends/packages/*') }}
73+ key : depends-${{ hashFiles('contrib/containers/ci/ci. Dockerfile') }}-${{ inputs.build-target }}-${{ steps.setup.outputs.DEP_HASH }}-${{ hashFiles('depends/packages/*') }}
7474 restore-keys : |
75- depends-${{ hashFiles('contrib/containers/ci/Dockerfile') }}-${{ inputs.build-target }}-${{ steps.setup.outputs.DEP_HASH }}-
76- depends-${{ hashFiles('contrib/containers/ci/Dockerfile') }}-${{ inputs.build-target }}-
75+ depends-${{ hashFiles('contrib/containers/ci/ci. Dockerfile') }}-${{ inputs.build-target }}-${{ steps.setup.outputs.DEP_HASH }}-
76+ depends-${{ hashFiles('contrib/containers/ci/ci. Dockerfile') }}-${{ inputs.build-target }}-
7777
7878 - name : Build depends
7979 run : |
Original file line number Diff line number Diff line change 7070 with :
7171 path : |
7272 /cache
73- key : ccache-${{ hashFiles('contrib/containers/ci/Dockerfile', 'depends/packages/*') }}-${{ inputs.build-target }}-${{ github.sha }}
73+ key : ccache-${{ hashFiles('contrib/containers/ci/ci. Dockerfile', 'depends/packages/*') }}-${{ inputs.build-target }}-${{ github.sha }}
7474 restore-keys : |
75- ccache-${{ hashFiles('contrib/containers/ci/Dockerfile', 'depends/packages/*') }}-${{ inputs.build-target }}-
75+ ccache-${{ hashFiles('contrib/containers/ci/ci. Dockerfile', 'depends/packages/*') }}-${{ inputs.build-target }}-
7676
7777 - name : Build source
7878 run : |
Original file line number Diff line number Diff line change @@ -29,9 +29,10 @@ builder-image:
2929 - echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
3030 script :
3131 - cd contrib/containers/ci
32+ - export DOCKER_BUILDKIT=1
3233 - docker pull $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG || true
3334 - docker pull $CI_REGISTRY_IMAGE:builder-develop || true
34- - docker build --cache-from $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG --cache-from $CI_REGISTRY_IMAGE:builder-develop -t $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG -f Dockerfile .
35+ - docker build --cache-from $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG --cache-from $CI_REGISTRY_IMAGE:builder-develop -t $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG -f ci. Dockerfile .
3536 - docker push $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG
3637
3738.build-depends-template :
@@ -56,7 +57,7 @@ builder-image:
5657 # Let all branches share the same cache, which is ok because the depends subsystem is able to handle this properly (it works with hashes of all scripts)
5758 key :
5859 files :
59- - contrib/containers/ci/Dockerfile
60+ - contrib/containers/ci/ci. Dockerfile
6061 prefix : ${CI_JOB_NAME}
6162 paths :
6263 - depends/built
@@ -116,7 +117,7 @@ builder-image:
116117 # Let all branches share the same cache, which is ok because ccache is able to handle it
117118 key :
118119 files :
119- - contrib/containers/ci/Dockerfile
120+ - contrib/containers/ci/ci. Dockerfile
120121 prefix : ${CI_JOB_NAME}
121122 paths :
122123 - cache/ccache
File renamed without changes.
Original file line number Diff line number Diff line change 1- # syntax = edrevo /dockerfile-plus
1+ # syntax = devthefuture /dockerfile-x
22
3- FROM ubuntu:noble
4-
5- INCLUDE+ ci/Dockerfile
3+ FROM ./ci/ci.Dockerfile
64
75# The inherited Dockerfile switches to non-privileged context and we've
86# just started configuring this image, give us root access
You can’t perform that action at this time.
0 commit comments