Closed
Description
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
Here is an example:
https://github.com/felipecrs/jenkins-agent-dind/blob/master/.github/workflows/ci.yml#L35
https://github.com/felipecrs/jenkins-agent-dind/runs/5964649319?check_suite_focus=true#step:3:31
I would say that this variable does not get filled properly for schedule events, which is meaningful, as metadata-action relies on it.