From 40768a750737959e1128c031c8e85610d1e0a740 Mon Sep 17 00:00:00 2001 From: Marvin Buss Date: Tue, 31 Oct 2023 12:01:28 +0100 Subject: [PATCH] Update Container Build and Push --- .github/workflows/_containerTemplate.yml | 6 +++++- .github/workflows/functionApp.yml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_containerTemplate.yml b/.github/workflows/_containerTemplate.yml index 9aef299..e158993 100644 --- a/.github/workflows/_containerTemplate.yml +++ b/.github/workflows/_containerTemplate.yml @@ -18,6 +18,10 @@ on: type: string default: ghcr.io description: "Specifies the uri of the container registry." + image_namespace_name: + required: true + type: string + description: "Specifies the namespace name of the image." image_name: required: true type: string @@ -78,7 +82,7 @@ jobs: with: context: workflow images: | - ${{ inputs.registry_uri }}/${{ inputs.image_name }} + ${{ inputs.registry_uri }}/${{ inputs.image_namespace_name }}/${{ inputs.image_name }} tags: | type=ref,event=branch type=ref,event=pr diff --git a/.github/workflows/functionApp.yml b/.github/workflows/functionApp.yml index d3f9f66..e40bcb9 100644 --- a/.github/workflows/functionApp.yml +++ b/.github/workflows/functionApp.yml @@ -30,6 +30,7 @@ jobs: environment: "dev" working_directory: "./code/function" registry_uri: "ghcr.io" + image_namespace_name: "PerfectThymeTech" image_name: "AzureFunctionPython" secrets: USER_NAME: ${{ github.actor }}