feat: add release and sha tagged images

This commit is contained in:
drbh 2024-08-05 13:13:52 -04:00
parent dd47a3dac4
commit 4379f0650a
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ jobs:
tags: |
type=semver,pattern={{version}}${{ env.LABEL }}
type=semver,pattern={{major}}.{{minor}}${{ env.LABEL }}
type=semver,pattern={{major}}.{{minor}}-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }}
type=raw,value=latest${{ env.LABEL }},enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}${{ env.LABEL }}
- name: Build and push Docker image