fix: update Docker tags for latest and latest-full variants in build … (#19)

This commit is contained in:
samanhappy
2025-04-18 19:18:34 +08:00
committed by GitHub
parent 964ab4a5d7
commit 6988618c41

View File

@@ -33,7 +33,8 @@ jobs:
tags: |
type=raw,value=edge${{ matrix.variant == 'full' && '-full' || '' }},enable=${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
type=semver,pattern={{version}}${{ matrix.variant == 'full' && '-full' || '' }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=raw,value=latest${{ matrix.variant == 'full' && '-full' || '' }},enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') && matrix.variant == 'base' }}
type=raw,value=latest-full,enable=${{ startsWith(github.ref, 'refs/tags/') && matrix.variant == 'full' }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v5