Skip to content

Commit

Permalink
Merge pull request #5 from immich-app/fix/schedule
Browse files Browse the repository at this point in the history
Fix schedule
  • Loading branch information
bo0tzz authored Oct 13, 2023
2 parents 057d9b7 + a4a26e4 commit 735fd57
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [main]
schedule:
- cron: '35 20 * * 4'
- cron: '0 8 * * 5'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -55,6 +55,15 @@ jobs:
latest=false
images: |
name=ghcr.io/${{ github.repository_owner }}/${{matrix.image}}
tags: |
# Tag scheduled runs with date
type=schedule,pattern={{date 'YYYYMMDD'}}
# Tag with branch name
type=ref,event=branch
# Tag with pr-number
type=ref,event=pr
# Tag with git tag on release
type=ref,event=tag
- name: Build and push image
uses: docker/[email protected]
Expand Down

0 comments on commit 735fd57

Please sign in to comment.