Skip to content

Commit bc06cdd

Browse files
authored
feat: support load parameter in push-to-gar-docker (#1190)
Add support for the load parameter with build-push-action
1 parent 1915c31 commit bc06cdd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

actions/push-to-gar-docker/action.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ inputs:
8282
description: |
8383
Secrets to expose to the build. Only needed when authenticating to private repositories outside the repository in which the image is being built.
8484
required: false
85+
load:
86+
description: |
87+
Whether to load the built image into the local docker daemon.
88+
required: false
89+
default: "false"
8590

8691
outputs:
8792
version:
@@ -198,6 +203,7 @@ runs:
198203
ssh: ${{ inputs.ssh }}
199204
build-contexts: ${{ inputs.build-contexts }}
200205
secrets: ${{ inputs.secrets }}
206+
load: ${{ inputs.load == 'true' }}
201207

202208
- name: Cleanup checkout directory
203209
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)