Skip to content

Commit

Permalink
Merge pull request #165 from felipecrs/patch-1
Browse files Browse the repository at this point in the history
Fine tune default branch example
  • Loading branch information
crazy-max committed Feb 16, 2022
2 parents 2cad85d + 535a299 commit f3c886e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -610,7 +610,7 @@ is not `master`, use `type=raw` with a boolean expression:
```yaml
tags: |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
```
### Global expressions
Expand Down

0 comments on commit f3c886e

Please sign in to comment.