Skip to content

Commit

Permalink
feat: add build args param
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Dec 9, 2022
1 parent 427db7b commit 9ea59df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ inputs:
description: "Dockerfile path"
required: true
default: "Dockerfile"
build-args:
description: "Docker build arguments"
required: true
default: ""
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -86,6 +90,7 @@ runs:
with:
context: .
file: ${{ inputs.dockerfile }}
build-args: ${{ inputs.build-args }}
push: true
tags: ${{ steps.meta-edge.outputs.tags }}
labels: ${{ steps.meta-edge.outputs.labels }}
Expand All @@ -112,6 +117,7 @@ runs:
with:
context: .
file: ${{ inputs.dockerfile }}
build-args: ${{ inputs.build-args }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 9ea59df

Please sign in to comment.