change to only build 3 times a month. caching stopped working so enable squashing to make the image smaller in one layer instead of multiple layers
This commit is contained in:
parent
78bd705539
commit
e3944d253b
1 changed files with 2 additions and 1 deletions
3
.github/workflows/os.yml
vendored
3
.github/workflows/os.yml
vendored
|
|
@ -7,7 +7,7 @@ name: os
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 5 * * *' # 5 am every day
|
- cron: '0 5 8,18,28 * *' # 5 am three times every month
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'Dockerfile'
|
- 'Dockerfile'
|
||||||
|
|
@ -96,6 +96,7 @@ jobs:
|
||||||
# labels: ${{ steps.meta.outputs.labels }}
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
squash: true
|
||||||
|
|
||||||
|
|
||||||
# Sign the resulting Docker image digest except on PRs.
|
# Sign the resulting Docker image digest except on PRs.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue