diff --git a/action.yaml b/action.yaml index 3746ad2..bd56912 100644 --- a/action.yaml +++ b/action.yaml @@ -12,6 +12,10 @@ inputs: description: "The file location of Dockerfile" required: false default: ./Dockerfile + target: + description: "The target in Dockerfile" + required: false + default: '' push: description: "Whether the container will be pushed or not" required: false @@ -93,6 +97,7 @@ runs: with: context: ${{ inputs.context }} file: ${{ inputs.file }} + target: ${{ inputs.target }} platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }}