sforkowany z mirror/composer-and-node-ci
Remove env from interpolations
rodzic
0aa7cca69b
commit
0c7a895aa5
|
@ -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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue