Added tags definition to docker action
This commit is contained in:
parent
7fd918954c
commit
7a826f0ceb
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
@ -22,6 +22,10 @@ jobs:
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.IMAGE_NAME }}
|
images: ${{ env.IMAGE_NAME }}
|
||||||
|
tags: |
|
||||||
|
type=semver,pattern={{version}}
|
||||||
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
|
type=ref,event=tag
|
||||||
|
|
||||||
- name: Log into the Container registry
|
- name: Log into the Container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|
Loading…
Reference in a new issue