This commit is contained in:
Adrien Beaudouin 2024-08-02 21:43:22 +02:00
parent ba845276d9
commit d14f3c3bf7
4 changed files with 6 additions and 1 deletions

View File

@ -9,3 +9,4 @@ jobs:
with: with:
image: okami101/dotnet-qa:8.0 image: okami101/dotnet-qa:8.0
dockerfile: dotnet-qa.dockerfile dockerfile: dotnet-qa.dockerfile
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}

View File

@ -9,3 +9,4 @@ jobs:
with: with:
image: okami101/frankenphp:8.3 image: okami101/frankenphp:8.3
dockerfile: frankenphp-83.dockerfile dockerfile: frankenphp-83.dockerfile
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}

View File

@ -9,3 +9,4 @@ jobs:
with: with:
image: okami101/php-qa:8.3 image: okami101/php-qa:8.3
dockerfile: php-qa-83.dockerfile dockerfile: php-qa-83.dockerfile
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}

View File

@ -3,6 +3,9 @@ name: Docker build test
on: on:
workflow_call: workflow_call:
inputs: inputs:
password:
required: true
type: string
image: image:
required: true required: true
type: string type: string
@ -19,7 +22,6 @@ jobs:
with: with:
registry: ${{ vars.CONTAINER_REGISTRY }} registry: ${{ vars.CONTAINER_REGISTRY }}
username: ${{ vars.CONTAINER_REGISTRY_USERNAME }} username: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v6
with: with:
context: . context: .