steps:
  - name: 'gcr.io/gcp-runtimes/php/gen-dockerfile:latest'
    args: ['--php72-image', 'gcr.io/google-appengine/php72:latest', '--php71-image', 'gcr.io/google-appengine/php71:latest']
  - name: 'gcr.io/kaniko-project/executor:v0.6.0'
    args: ['--destination=$_OUTPUT_IMAGE']

steps:
  - name: 'gcr.io/gcp-runtimes/php/gen-dockerfile:latest'
    args: ['--php72-image', 'gcr.io/google-appengine/php72:latest', '--php71-image', 'gcr.io/google-appengine/php71:latest']
    env: 'GAE_APPLICATION_YAML_PATH=$_GAE_APPLICATION_YAML_PATH'
  - name: 'gcr.io/kaniko-project/executor:v0.6.0'
    args: ['--destination=$_OUTPUT_IMAGE']
    env: 'GAE_APPLICATION_YAML_PATH=$_GAE_APPLICATION_YAML_PATH'

Add app.yaml path to the environment variables
Add app.yaml path to the environment variables

The PHP runtime builder depends on this environment variable present. It is added by gcloud during the `gcloud app deploy` execution, but it's better to have it explicitly add it here.