Parcourir la source

fix(workflow): update tagging logic in GitHub Actions (#8882)

tags/0.9.0
-LAN- il y a 1 an
Parent
révision
4ec977eaba
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      .github/workflows/build-push.yml

+ 1
- 1
.github/workflows/build-push.yml Voir le fichier

@@ -125,7 +125,7 @@ jobs:
with:
images: ${{ env[matrix.image_name_env] }}
tags: |
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-') }}
type=ref,event=branch
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
type=raw,value=${{ github.ref_name }},enable=${{ startsWith(github.ref, 'refs/tags/') }}

Chargement…
Annuler
Enregistrer