Skip to content

Commit

Permalink
Fix not pushing image as latest on schedule
Browse files Browse the repository at this point in the history
With a workaround for docker/metadata-action#184.
  • Loading branch information
felipecrs committed Apr 11, 2022
1 parent cefd28b commit 77fb636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -32,7 +32,7 @@ jobs:
type=schedule,pattern={{date 'YYYYMMDD'}}
type=ref,event=branch
type=ref,event=pr
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) || github.event_name == 'schedule' }}
type=sha,enable=${{ github.event_name == 'push' }}
- name: Set up Docker Buildx
Expand Down

0 comments on commit 77fb636

Please sign in to comment.