Skip to content

Commit

Permalink
chore: allow for targets when building docker images (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
torsdag committed Jan 19, 2023
1 parent e6d7901 commit f70a82f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ on:
type: string
description: "Name of Docker image"
required: true
target:
type: string
description: "Sets the target stage to build"
required: false
default: ""

jobs:
build-and-push-image:
Expand Down Expand Up @@ -108,3 +113,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
target: ${{ inputs.target }}

0 comments on commit f70a82f

Please sign in to comment.