|
41 | 41 | home-nonroot-cache-uv
|
42 | 42 | key: cache-uv-linux-amd64-${{ hashFiles('uv.lock') }}
|
43 | 43 |
|
44 |
| - - name: APT Build Caches for Docker APT |
45 |
| - id: docker-build-apt-cache |
46 |
| - uses: actions/cache@v4 |
47 |
| - with: |
48 |
| - path: | |
49 |
| - var-cache-apt |
50 |
| - var-lib-apt |
51 |
| - key: cache-apt-linux-amd64-${{ hashFiles('Dockerfile') }} |
52 |
| - |
53 |
| - - name: Inject UV cache in docker |
54 |
| - uses: reproducible-containers/[email protected] |
55 |
| - with: |
56 |
| - skip-extraction: false |
57 |
| - cache-map: | |
58 |
| - { |
59 |
| - "home-nonroot-cache-uv": { |
60 |
| - "target": "/home/nonroot/.cache/uv", |
61 |
| - "sharing": "locked", |
62 |
| - "uid": "2000", |
63 |
| - "gid": "2000" |
64 |
| - } |
65 |
| - } |
66 |
| -
|
67 |
| - - name: Inject APT cache in docker |
68 |
| - uses: reproducible-containers/[email protected] |
69 |
| - with: |
70 |
| - skip-extraction: false |
71 |
| - cache-map: | |
72 |
| - { |
73 |
| - "var-cache-apt": "/var/cache/apt", |
74 |
| - "var-lib-apt": "/var/lib/apt" |
75 |
| - } |
76 |
| -
|
77 | 44 | # Build but don't push Docker image with Buildx
|
78 | 45 | # https://github.com/docker/build-push-action
|
79 | 46 | - name: Build test image
|
@@ -158,46 +125,6 @@ jobs:
|
158 | 125 | images: |
|
159 | 126 | ${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}/${{ env.IMAGE_NAME }}-${{ matrix.docker_target }}
|
160 | 127 |
|
161 |
| - - name: UV Build Caches for Docker |
162 |
| - id: docker-build-uv-cache |
163 |
| - uses: actions/cache@v4 |
164 |
| - with: |
165 |
| - path: | |
166 |
| - home-nonroot-cache-uv |
167 |
| - key: cache-uv-${{ env.PLATFORM_PAIR }}-${{ hashFiles('uv.lock') }} |
168 |
| - |
169 |
| - - name: APT Build Caches for Docker APT |
170 |
| - id: docker-build-apt-cache |
171 |
| - uses: actions/cache@v4 |
172 |
| - with: |
173 |
| - path: | |
174 |
| - var-cache-apt |
175 |
| - var-lib-apt |
176 |
| - key: cache-apt-${{ env.PLATFORM_PAIR }}-${{ hashFiles('Dockerfile') }} |
177 |
| - |
178 |
| - - name: Inject UV cache in docker |
179 |
| - uses: reproducible-containers/[email protected] |
180 |
| - with: |
181 |
| - skip-extraction: false |
182 |
| - cache-map: | |
183 |
| - { |
184 |
| - "home-nonroot-cache-uv": { |
185 |
| - "target": "/home/nonroot/.cache/uv", |
186 |
| - "sharing": "locked", |
187 |
| - "uid": "2000", |
188 |
| - "gid": "2000" |
189 |
| - } |
190 |
| - } |
191 |
| -
|
192 |
| - - name: Inject APT cache in docker |
193 |
| - uses: reproducible-containers/[email protected] |
194 |
| - with: |
195 |
| - skip-extraction: false |
196 |
| - cache-map: | |
197 |
| - { |
198 |
| - "var-cache-apt": "/var/cache/apt", |
199 |
| - "var-lib-apt": "/var/lib/apt" |
200 |
| - } |
201 | 128 |
|
202 | 129 | # This build an image WITHOUT tags and outputs the digests, so that we can aggragate them later
|
203 | 130 | - name: Build and push production image
|
|
0 commit comments