Fixing dockerfile
This commit is contained in:
16
action.yml
16
action.yml
@@ -10,8 +10,12 @@ inputs:
|
||||
imagePrefix:
|
||||
description: The image prefix
|
||||
required: false
|
||||
default: ${{ gitea.repositoryUrl }}/${{ gitea.repository_owner }}/
|
||||
push:
|
||||
default: ${{ gitea.server_url }}/${{ gitea.repository_owner }}/
|
||||
path:
|
||||
description: The dockerfile path
|
||||
required: false
|
||||
default: "."
|
||||
pushImage:
|
||||
description: Should push the built image
|
||||
required: false
|
||||
default: "true"
|
||||
@@ -19,6 +23,10 @@ inputs:
|
||||
description: Uses the pull cache
|
||||
required: false
|
||||
default: "true"
|
||||
platform:
|
||||
description: Comma separated list for building platform
|
||||
required: false
|
||||
default: ""
|
||||
|
||||
# Define your outputs here.
|
||||
outputs:
|
||||
@@ -31,5 +39,7 @@ runs:
|
||||
env:
|
||||
INPUT_IMAGE_NAME: ${{ inputs.imageName }}
|
||||
INPUT_IMAGE_PREFIX: ${{ inputs.imagePrefix }}
|
||||
INPUT_PUSH: ${{ inputs.push }}
|
||||
INPUT_PUSH_IMAGE: ${{ inputs.pushImage }}
|
||||
INPUT_PULL_CACHE: ${{ inputs.pullCache }}
|
||||
INPUT_DOCKERFILE_PATH: ${{ inputs.path }}
|
||||
INPUT_PLATFORM: ${{ inputs.platform }}
|
||||
|
||||
Reference in New Issue
Block a user