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 1
1
**
2
- ! contrib /containers /ci /Dockerfile
2
+ ! contrib /containers /ci /ci. Dockerfile
3
3
! contrib /containers /deploy /Dockerfile
4
4
! contrib /containers /develop /Dockerfile
Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ jobs:
45
45
uses : docker/build-push-action@v6
46
46
with :
47
47
context : ./contrib/containers/ci
48
- file : ./contrib/containers/ci/Dockerfile
48
+ file : ./contrib/containers/ci/ci. Dockerfile
49
49
push : true
50
50
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') }}
52
52
ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:${{ steps.prepare.outputs.tag }}
53
53
ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:latest
54
54
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') }}
56
56
type=registry,ref=ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:${{ steps.prepare.outputs.tag }}
57
57
type=registry,ref=ghcr.io/${{ steps.prepare.outputs.repo }}/dashcore-ci-runner:latest
58
58
cache-to : type=inline
Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ jobs:
70
70
path : |
71
71
depends/built
72
72
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/*') }}
74
74
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 }}-
77
77
78
78
- name : Build depends
79
79
run : |
Original file line number Diff line number Diff line change 70
70
with :
71
71
path : |
72
72
/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 }}
74
74
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 }}-
76
76
77
77
- name : Build source
78
78
run : |
Original file line number Diff line number Diff line change @@ -29,9 +29,10 @@ builder-image:
29
29
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
30
30
script :
31
31
- cd contrib/containers/ci
32
+ - export DOCKER_BUILDKIT=1
32
33
- docker pull $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG || true
33
34
- 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 .
35
36
- docker push $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG
36
37
37
38
.build-depends-template :
@@ -56,7 +57,7 @@ builder-image:
56
57
# 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)
57
58
key :
58
59
files :
59
- - contrib/containers/ci/Dockerfile
60
+ - contrib/containers/ci/ci. Dockerfile
60
61
prefix : ${CI_JOB_NAME}
61
62
paths :
62
63
- depends/built
@@ -116,7 +117,7 @@ builder-image:
116
117
# Let all branches share the same cache, which is ok because ccache is able to handle it
117
118
key :
118
119
files :
119
- - contrib/containers/ci/Dockerfile
120
+ - contrib/containers/ci/ci. Dockerfile
120
121
prefix : ${CI_JOB_NAME}
121
122
paths :
122
123
- 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
2
2
3
- FROM ubuntu:noble
4
-
5
- INCLUDE+ ci/Dockerfile
3
+ FROM ./ci/ci.Dockerfile
6
4
7
5
# The inherited Dockerfile switches to non-privileged context and we've
8
6
# just started configuring this image, give us root access
You can’t perform that action at this time.
0 commit comments