Fix Yaml
This commit is contained in:
parent
23a0a8e6fe
commit
75e3347d4c
1 changed files with 5 additions and 10 deletions
|
@ -30,16 +30,11 @@ jobs:
|
|||
tags: |
|
||||
git.euph.dev/actions/runner-basic:latest
|
||||
|
||||
build_matrix:
|
||||
build_php:
|
||||
runs-on: 'ubuntu-latest'
|
||||
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }}
|
||||
needs: [build_act]
|
||||
strategy:
|
||||
matrix:
|
||||
name: [php]
|
||||
include:
|
||||
- name: PHP builds
|
||||
if: matrix.name == 'php'
|
||||
matrix:
|
||||
version: [7.4, 8.0, 8.1, 8.2]
|
||||
steps:
|
||||
|
@ -55,13 +50,13 @@ jobs:
|
|||
registry: git.euph.dev
|
||||
username: ${{ secrets.DEPLOY_USER }}
|
||||
password: ${{ secrets.DEPLOY_SECRET }}
|
||||
- name: Build and push ${{ matrix.name }}:${{ matrix.version }}
|
||||
- name: Build and push php:${{ matrix.version }}
|
||||
uses: 'https://git.euph.dev/actions/docker-build-push@v5'
|
||||
with:
|
||||
context: "{{defaultContext}}:images/actions/${{ matrix.name }}"
|
||||
context: "{{defaultContext}}:images/actions/php"
|
||||
push: true
|
||||
tags: |
|
||||
git.euph.dev/actions/runner-${{ matrix.name }}-${{ matrix.version }}:latest
|
||||
git.euph.dev/actions/runner-php-${{ matrix.version }}:latest
|
||||
env:
|
||||
PACKAGE_VERSION: ${{ matrix.version }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue