Merge pull request #1187 from testuser7/docker-tag

Improve workflow syntax
pull/1196/head
Fredrik Öhrström 2024-02-23 08:51:43 +01:00 zatwierdzone przez GitHub
commit c21efd1d69
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -11,8 +11,8 @@ on:
env:
DOCKERHUB_IMAGE: ${{ github.repository }}
IMAGE_TAG: |
${{ github.ref_type == 'tag' && (contains(github.ref_name, '-RC') &&
format('{0}-{1}', 'candidate', github.ref_name) || format('{0}-{1}', 'release', github.ref_name)) || 'latest' }}
${{ github.ref_type == 'tag' && format('{0}-{1}', (contains(github.ref_name, '-RC') &&
'candidate' || 'release'), github.ref_name) || 'latest' }}
jobs:
build: