Remove env from interpolations

master
Carlos Gomes 2022-10-04 10:46:29 +02:00
rodzic 0aa7cca69b
commit 0c7a895aa5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 870909DFEF7C5FB9
1 zmienionych plików z 2 dodań i 6 usunięć

Wyświetl plik

@ -6,10 +6,6 @@ on:
- main
workflow_dispatch:
env:
LATEST: php8
IMAGE: carlosalgms/composer-and-node-ci
jobs:
build_latest:
runs-on: ubuntu-latest
@ -17,11 +13,11 @@ jobs:
matrix:
tag: [php8, php7.1]
image: [carlosalgms/composer-and-node-ci]
latest: [php8]
include:
- tag: php8
buildArgs: ""
# tags: ${{ matrix.image }}:latest,${{ matrix.image }}:${{ matrix.tag }}
- tag: php7.1
buildArgs: |
@ -30,7 +26,7 @@ jobs:
COMPOSER_VERSION=2.2.18
env:
TAGGED_IMAGE: ${{ matrix.image }}:${{ matrix.tag }}
TAGS: ${{ matrix.tag == env.LATEST && format('{0}:latest,{0}:{1}', matrix.image, matrix.tag) || format('{0}:{1}', matrix.image, matrix.tag) }}
TAGS: ${{ matrix.tag == matrix.latest && format('{0}:latest,', matrix.image) || '' }}${{ matrix.image }}:${{ matrix.tag }}
steps:
- uses: actions/checkout@v2