Skip to content

Commit

Permalink
Added context arg to action (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid authored Sep 30, 2024
1 parent 58489d8 commit 5a7543e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/build-push/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build Docker Image and push to ECR
description: Common docker image builder for building chainlink docker images
inputs:
context:
required: false
default: "."
description: The context of the docker build
tags:
required: true
description: The full docker tag list to use for the push to ecr, new line separated
Expand Down Expand Up @@ -42,7 +46,7 @@ runs:
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
id: build-image
with:
context: .
context: ${{ inputs.context }}
file: ${{ inputs.file }}
build-args: ${{ inputs.build-args }}
tags: ${{ inputs.tags }}
Expand Down

0 comments on commit 5a7543e

Please sign in to comment.