Skip to content
Snippets Groups Projects
Unverified Commit b17fe82c authored by Dmitriy Safronov's avatar Dmitriy Safronov Committed by GitHub
Browse files

tags (#46)

parent 93a3d3e8
No related branches found
No related tags found
No related merge requests found
......@@ -58,11 +58,15 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=branch,prefix=,suffix=-{{sha}}-{{date 'x'}}
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch,prefix=,suffix=-{{sha}}-{{date 'x'}}
type=semver,pattern={{major}}.{{minor}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.0.') }}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
# type=semver,pattern={{major}}.{{minor}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.0.') && !contains(github.ref, '-') }}
# type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') && !contains(github.ref, '-') }}
flavor: |
latest=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
# Cache dependencies
# https://github.com/actions/cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment