Unified · Split
| @@ -1,14 +1,11 @@ | |||
| 1 | name: Build and Push Docker Images | 1 | name: Build and Push Docker Images |
| 2 | |||
| 3 | on: | 2 | on: |
| 4 | schedule: | 3 | schedule: |
| 5 | - cron: '0 0 1 * *' # Run monthly on the 1st | 4 | - cron: '0 0 1 * *' # Run monthly on the 1st |
| 6 | workflow_dispatch: # Allow manual triggers | 5 | workflow_dispatch: # Allow manual triggers |
| 7 | |||
| 8 | env: | 6 | env: |
| 9 | REGISTRY: ghcr.io | 7 | REGISTRY: ghcr.io |
| 10 | IMAGE_NAME: ${{ github.repository }} | 8 | IMAGE_NAME: ${{ github.repository }} |
| 11 | |||
| 12 | jobs: | 9 | jobs: |
| 13 | build-and-push: | 10 | build-and-push: |
| 14 | runs-on: ubuntu-latest | 11 | runs-on: ubuntu-latest |
| @@ -54,4 +51,4 @@ jobs: · 39 unmodified lines | |||
| 54 | file: ./${{ matrix.variant.file }} | 51 | file: ./${{ matrix.variant.file }} |
| 55 | push: true | 52 | push: true |
| 56 | tags: ${{ steps.meta.outputs.tags }} | 53 | tags: ${{ steps.meta.outputs.tags }} |
| 57 | labels: ${{ steps.meta.outputs.labels }} | 54 | labels: ${{ steps.meta.outputs.labels }} |