|
25 | 25 | targets: bootstrap |
26 | 26 | workdir: . |
27 | 27 | set: | |
28 | | - *.output=type=docker,name=<image> |
29 | | - *.cache-from=type=gha,scope=<image> |
30 | | - *.cache-to=type=gha,mode=max,scope=<image> |
| 28 | + *.output=type=docker,name=local/bootstrap |
| 29 | + *.cache-from=type=gha,scope=local/bootstrap |
| 30 | + *.cache-to=type=gha,mode=max,scope=local/bootstrap |
31 | 31 | |
32 | 32 | - name: Bootstrap the environment Dockerfile |
33 | 33 | run: docker run -v ${GITHUB_WORKSPACE}/.github:/configs local/bootstrap |
|
39 | 39 | targets: env |
40 | 40 | workdir: . |
41 | 41 | set: | |
42 | | - *.output=type=docker,name=<image> |
43 | | - *.cache-from=type=gha,scope=<image> |
44 | | - *.cache-to=type=gha,mode=max,scope=<image> |
| 42 | + *.output=type=docker,name=local/env |
| 43 | + *.cache-from=type=gha,scope=local/env |
| 44 | + *.cache-to=type=gha,mode=max,scope=local/env |
45 | 45 |
|
46 | 46 | - name: Build Fenix |
47 | 47 | uses: docker/bake-action@v5 |
|
51 | 51 | targets: fenix |
52 | 52 | workdir: . |
53 | 53 | set: | |
54 | | - *.output=type=docker,name=<image> |
55 | | - *.cache-from=type=gha,scope=<image> |
56 | | - *.cache-to=type=gha,mode=max,scope=<image> |
| 54 | + *.output=type=docker,name=local/fenix |
| 55 | + *.cache-from=type=gha,scope=local/env |
57 | 56 |
|
58 | 57 | - name: Test Fenix |
59 | 58 | run: docker run local/fenix |
0 commit comments