Skip to content

Commit

Permalink
♻️ Add dockerfile path argument
Browse files Browse the repository at this point in the history
  • Loading branch information
agmangas committed Sep 26, 2024
1 parent 17d73ea commit e28c425
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/reusable-build-push-gar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
required: false
type: string
default: ""
file:
required: false
type: string
default: Dockerfile
secrets:
# e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider
wif_provider:
Expand Down Expand Up @@ -74,3 +78,4 @@ jobs:
${{ inputs.gar_location }}-docker.pkg.dev/${{ inputs.project_id }}/${{ inputs.gar_repo }}/${{ inputs.image_name }}:${{ github.sha }}
${{ inputs.gar_location }}-docker.pkg.dev/${{ inputs.project_id }}/${{ inputs.gar_repo }}/${{ inputs.image_name }}:latest
build-args: ${{ inputs.build_args }}
file: ${{ inputs.file }}

0 comments on commit e28c425

Please sign in to comment.