Skip to content

Commit 93d70b0

Browse files
authored
Support build target for dockerfile (#23)
2 parents e4d9b2b + 5d7f809 commit 93d70b0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ inputs:
2525
registry:
2626
description: 'Docker registry'
2727
required: true
28+
target:
29+
description: "Sets the target stage to build"
30+
required: false
31+
default: ''
2832
login:
2933
description: 'Docker login'
3034
required: false
@@ -109,4 +113,5 @@ runs:
109113
cache-from: type=gha
110114
cache-to: type=gha,mode=max
111115
tags: ${{ steps.meta.outputs.tags }}
116+
target: ${{ inputs.target }}
112117
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)