can provide own image #7

Merged
jamie merged 1 commits from feature/image into main 2025-03-05 16:40:14 +00:00
Showing only changes of commit d459669371 - Show all commits

View File

@ -1,6 +1,10 @@
on: on:
workflow_call: workflow_call:
inputs: inputs:
image:
required: false
type: string
default: git.qlic.nl/qlic/quality:latest
username: username:
required: false required: false
type: string type: string
@ -22,7 +26,7 @@ jobs:
quality: quality:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
container: container:
image: git.qlic.nl/qlic/quality:latest image: ${{ inputs.image }}
credentials: credentials:
username: ${{ inputs.username }} username: ${{ inputs.username }}
password: ${{ inputs.password }} password: ${{ inputs.password }}
@ -55,6 +59,6 @@ jobs:
- name: Run php cs fixer - name: Run php cs fixer
run: ./vendor/bin/php-cs-fixer fix --diff --dry-run run: ./vendor/bin/php-cs-fixer fix --diff --dry-run
- name: Run audit - name: Run audit
run: composer audit run: composer audit