Skip to content

Commit 57fd895

Browse files
authored
Update docker-build.yml
1 parent 502e529 commit 57fd895

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/docker-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
type: string
88
required: false
99
default: "Dockerfile"
10+
TARGET_IMAGE_NAME:
11+
description: "Docker image name"
12+
type: string
13+
required: false
14+
default: ""
1015

1116
jobs:
1217
build:
@@ -48,7 +53,7 @@ jobs:
4853
flavor: |
4954
latest=auto
5055
suffix=${{ steps.flavor.outputs.name }}
51-
images: "ghcr.io/${{ steps.string.outputs.lowercase }}"
56+
images: "ghcr.io/${{ inputs.TARGET_IMAGE_NAME || steps.string.outputs.lowercase }}"
5257
tags: |
5358
${{ steps.tags.outputs.name }}
5459
latest

0 commit comments

Comments
 (0)