Added tags definition to docker action

This commit is contained in:
Mia Rose Winter 2024-02-19 21:00:45 +01:00
parent 7fd918954c
commit 7a826f0ceb
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -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