Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
description: 'Password for the Docker Registry'
required: true
dockerfile:
description: 'Dockerfile'
description: 'Path of the Dockerfile. Should be relative to input.workingdirectory'
required: true
default: './Dockerfile'
dockerbuildargs:
Expand Down Expand Up @@ -61,7 +61,7 @@ inputs:
description: 'Files which should be updated by the GitHub Action for PROD'
required: false
workingdirectory:
description: 'The directory (as a path relative to the repo root dir) in which the GitOps action should be executed. The dockerfile variable should be relative to workingdirectory.'
description: 'The path relative to the repo root dir in which the GitOps action should be executed.'
required: false
default: '.'

Expand Down Expand Up @@ -127,9 +127,9 @@ runs:
if: inputs.dockerenabled == 'true'
uses: docker/build-push-action@v2
with:
context: .
context: ${{ inputs.workingdirectory }}
push: ${{ steps.preparation.outputs.push }}
file: ${{ inputs.dockerfile }}
file: ${{ inputs.workingdirectory }}/${{ inputs.dockerfile }}
target: ${{ inputs.dockerbuildtarget }}
build-args: ${{ inputs.dockerbuildargs }}
tags: ${{ steps.preparation.outputs.tag_list }}
Expand Down