Skip to content

Commit

Permalink
Merge pull request #20 from mobilecoinofficial/add-target-option-to-d…
Browse files Browse the repository at this point in the history
…ocker-action

Add target option to docker action
  • Loading branch information
joekottke authored Oct 8, 2024
2 parents 7e50cde + 77c519f commit 0bab92b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ inputs:
tags:
description: New line separated list of tags for the docker image
required: true
target:
description: Sets the target stage to build in Dockerfile
required: false
default: ""
username:
description: docker registry user
default: ""
Expand Down Expand Up @@ -76,3 +80,4 @@ runs:
labels: ${{ steps.docker_meta.outputs.labels }}
push: ${{ inputs.push }}
tags: ${{ steps.docker_meta.outputs.tags }}
target: ${{ inputs.target }}

0 comments on commit 0bab92b

Please sign in to comment.