Skip to content

Commit

Permalink
use schedule for docker metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
martabal committed Dec 12, 2023
1 parent f41d747 commit eb3bcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
name=ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}-${{ matrix.target }}
tags: |
# Tag scheduled runs with date
type=raw,value=${{ needs.set_tag.outputs.tag }},enable=${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
type=schedule,value=${{ needs.set_tag.outputs.tag }}
type=raw,value={{date 'YYYYMMDD'}},enable=${{ inputs.pushDateTag || false }}
# Tag with branch name
type=ref,event=branch
Expand Down

0 comments on commit eb3bcb2

Please sign in to comment.