From e28c425187601b268885938c5f9a47bbba2b86e6 Mon Sep 17 00:00:00 2001 From: Andres Garcia Mangas Date: Thu, 26 Sep 2024 17:09:29 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Add=20dockerfile=20path=20?= =?UTF-8?q?argument?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/reusable-build-push-gar.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/reusable-build-push-gar.yml b/.github/workflows/reusable-build-push-gar.yml index 7cde243..ceeaa42 100644 --- a/.github/workflows/reusable-build-push-gar.yml +++ b/.github/workflows/reusable-build-push-gar.yml @@ -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: @@ -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 }}