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:
Anders da Silva Rytter Hansen 2026-01-05 15:04:46 -03:00
commit e3944d253b

View file

@ -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.