@@ -40,6 +40,8 @@ GitHub action for using a matrix strategy to distribute the build for
40
40
- ` build-context ` (` string ` ): Build's context is the set of files located in the
41
41
specified PATH or URL. Optional.
42
42
- ` build-file ` (` string ` ): Path to the Dockerfile. Optional.
43
+ - ` build-cache ` (` boolean ` ): Use cache when building the image. Defaults to
44
+ ` true ` . Optional.
43
45
- ` build-provenance ` (` boolean ` ): Generate provenance attestation for the build.
44
46
Defaults to ` false ` . Optional.
45
47
- ` build-cache-key ` (` string ` ): An explicit key for a cache entry. This will be
@@ -59,7 +61,7 @@ GitHub action for using a matrix strategy to distribute the build for
59
61
``` yml
60
62
jobs :
61
63
main :
62
- uses :
coatl-dev/workflows/.github/workflows/[email protected] .1
64
+ uses :
coatl-dev/workflows/.github/workflows/[email protected] .2
63
65
with :
64
66
registry-image : user/app
65
67
metadata-tags : |
@@ -89,6 +91,8 @@ GitHub action for using a matrix strategy to distribute the build for
89
91
- `build-context` (`string`) : Build's context is the set of files located in the
90
92
specified PATH or URL. Optional.
91
93
- `build-file` (`string`) : Path to the Dockerfile. Optional.
94
+ - `build-cache` (`boolean`) : Use cache when building the image. Defaults to
95
+ ` true` . Optional.
92
96
- `build-cache-key` (`string`) : An explicit key for a cache entry. This will be
93
97
used in conjunction with the platform set in `build-platforms`, e.g.
94
98
` coatl-linux-amd64` . Defaults to `coatl`. Optional.
@@ -110,7 +114,7 @@ GitHub action for using a matrix strategy to distribute the build for
110
114
` ` ` yml
111
115
jobs:
112
116
main:
113
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
117
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
114
118
with:
115
119
dockerhub-repo: user/app
116
120
dockerhub-username: ${{ vars.DOCKERHUB_USERNAME }}
170
174
171
175
jobs:
172
176
pip-compile-upgrade:
173
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
177
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
174
178
with:
175
179
path: requirements.txt
176
180
secrets:
221
225
222
226
jobs:
223
227
pre-commit-autoupdate:
224
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
228
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
225
229
with:
226
230
skip-repos: 'flake8'
227
231
secrets:
@@ -246,7 +250,7 @@ to install Python and invoke [`pre-commit`].
246
250
` ` ` yaml
247
251
jobs:
248
252
main:
249
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
253
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
250
254
with:
251
255
skip-hooks: 'pylint'
252
256
` ` `
@@ -265,7 +269,7 @@ This workflow will install Python and invoke `pylint` to analyze your code.
265
269
` ` ` yaml
266
270
jobs:
267
271
main:
268
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
272
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
269
273
with:
270
274
path: src
271
275
` ` `
@@ -301,7 +305,7 @@ Secrets:
301
305
` ` ` yaml
302
306
jobs:
303
307
main:
304
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
308
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
305
309
with:
306
310
python-version: '3.13'
307
311
secrets:
@@ -329,7 +333,7 @@ requires =
329
333
` ` ` yaml
330
334
jobs:
331
335
main:
332
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
336
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
333
337
` ` `
334
338
335
339
# ## .github/workflows/tox-envs.yml
@@ -361,7 +365,7 @@ requires =
361
365
` ` ` yaml
362
366
jobs:
363
367
main:
364
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
368
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
365
369
with:
366
370
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
367
371
` ` `
@@ -398,7 +402,7 @@ and on your workflow:
398
402
` ` ` yaml
399
403
jobs:
400
404
main:
401
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
405
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
402
406
with:
403
407
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
404
408
` ` `
@@ -413,7 +417,7 @@ This workflow will install Python and invoke `tox` to run all envs found in
413
417
` ` ` yaml
414
418
jobs:
415
419
main:
416
- uses: coatl-dev/workflows/.github/workflows/[email protected] .1
420
+ uses: coatl-dev/workflows/.github/workflows/[email protected] .2
417
421
` ` `
418
422
419
423
[`actions/setup-python`] : https://github.com/actions/setup-python
0 commit comments