Skip to content

[devkit] php devkit

[devkit] php devkit #5

Workflow file for this run

name: Devkit (php)
on:
push:
branches:
- master
- main
paths:
- '.docker/php.dockerfile'
- '.github/workflows/devkit-php.yml'
pull_request:
paths:
- '.docker/php.dockerfile'
- '.github/workflows/devkit-php.yml'
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-22.04
matrix:

Check failure on line 21 in .github/workflows/devkit-php.yml

View workflow run for this annotation

GitHub Actions / Devkit (php)

Invalid workflow file

The workflow is not valid. .github/workflows/devkit-php.yml (Line: 21, Col: 5): Unexpected value 'matrix'
lang: ["php"]
version: ["8.3.4"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Publish
uses: elgohr/Publish-Docker-Github-Action@main
with:
name: shish2k/rosettaboy-devkit-${{ matrix.lang }}
dockerfile: .docker/${{ matrix.lang }}.dockerfile
buildoptions: "--build-arg VERSION=${{ matrix.version }}"
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: ${{ matrix.version }}
platforms: linux/amd64,linux/arm64