Skip to content

Commit 3b1874e

Browse files
authored
Merge pull request #60 from PerfectThymeTech/marvinbuss/container_002
Update Container Build and Push
2 parents 9838030 + 4db5429 commit 3b1874e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/_containerTemplate.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
type: string
1919
default: ghcr.io
2020
description: "Specifies the uri of the container registry."
21+
image_namespace_name:
22+
required: true
23+
type: string
24+
description: "Specifies the namespace name of the image."
2125
image_name:
2226
required: true
2327
type: string
@@ -78,7 +82,7 @@ jobs:
7882
with:
7983
context: workflow
8084
images: |
81-
${{ inputs.registry_uri }}/${{ inputs.image_name }}
85+
${{ inputs.registry_uri }}/${{ inputs.image_namespace_name }}/${{ inputs.image_name }}
8286
tags: |
8387
type=ref,event=branch
8488
type=ref,event=pr

.github/workflows/functionApp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
environment: "dev"
3131
working_directory: "./code/function"
3232
registry_uri: "ghcr.io"
33+
image_namespace_name: "PerfectThymeTech"
3334
image_name: "AzureFunctionPython"
3435
secrets:
3536
USER_NAME: ${{ github.actor }}

0 commit comments

Comments
 (0)