Skip to content

Commit e551f48

Browse files
committed
feat: added support for build context
1 parent 73b3c28 commit e551f48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/gcp-docker-build-push/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ inputs:
2626
required: false
2727
description: "Dockerfile path"
2828
default: ${{ github.workspace }}/Dockerfile
29+
build-context:
30+
required: false
31+
description: "Docker build context"
32+
default: ${{ github.workspace }}
2933
runs:
3034
using: "composite"
3135
steps:
@@ -83,6 +87,7 @@ runs:
8387
with:
8488
push: true
8589
file: ${{ inputs.dockerfile }}
90+
context: ${{ inputs.build-context }}
8691
tags: ${{ steps.vars.outputs.tags }}
8792
secret-files: |
8893
netrc=/home/runner/.netrc

0 commit comments

Comments
 (0)