Skip to content

Commit

Permalink
Revert "🔥 Remove Docker Target Option" (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaxel authored Jun 7, 2023
1 parent 530281f commit 87877b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/template_gitops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
docker-build-args:
required: false
type: string
docker-build-target:
required: false
type: string
docker-build-provenance:
required: false
type: string
Expand Down Expand Up @@ -71,6 +74,7 @@ jobs:
docker-build-provenance: ${{ inputs.docker-build-provenance }}
docker-build-secrets: ${{ secrets.docker-build-secrets }}
docker-build-secret-files: ${{ secrets.docker-build-secret-files }}
docker-build-target: ${{ inputs.docker-build-target }}
docker-file: ${{ inputs.docker-file }}
docker-image: ${{ inputs.docker-image }}
gitops-token: ${{ secrets.gitops-token }}
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:
"any important args"
# optional: generate provenance attestation for the build, default: false
docker-build-provenance: "mode=min,inline-only=true"
# optional: set the target stage to build
docker-build-target: "any target"
# optional: path to the Dockerfile, default: ./Dockerfile
docker-file: <path-to-Dockerfile>
# optional: name of the docker image, default: private/<repository_name>
Expand Down

0 comments on commit 87877b5

Please sign in to comment.