Skip to content

Commit

Permalink
ci(docker): docker versioning tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
marmiha committed Feb 23, 2023
1 parent 4cdfc62 commit 85a7e60
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ jobs:
tags: |
type=ref,event=pr
type=ref,event=branch,prefix=edge-
type=semver,pattern={{raw}},enable={{is_default_branch}}
type=semver,pattern={{version}},enable={{is_default_branch}}
type=semver,pattern=v{{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') && github.ref == format('refs/heads/{0}', 'master') }}
type=semver,pattern={{major}}.{{minor}},enable={{is_default_branch}}
type=semver,pattern={{raw}}
type=semver,pattern={{version}}
type=semver,pattern=v{{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern=v{{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
Expand Down

0 comments on commit 85a7e60

Please sign in to comment.