Skip to content

Commit 4d20bf6

Browse files
authored
chore: [SRE-830] add load flag (#43)
Adding the `load` flag to allow for the image to be available for subsequent processing steps i.e. https://github.com/stordco/logiwa_writer/pull/108/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133ddR176
1 parent deb1b54 commit 4d20bf6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker-build/action.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ inputs:
6363
(Optional) A list of labels to be added to the default ones when
6464
pushing the image.
6565
required: false
66+
load:
67+
default: false
68+
description: >-
69+
(Optional) When set to true, the `load` input acts as a shorthand for --output=type=docker,
70+
automatically loading the single-platform build result into the local Docker images.
71+
This is useful for testing the image locally to the GHA instance.
72+
required: false
6673
oban-fingerprint:
6774
description: >-
6875
(Optional) Public key for fetching the oban pro repository data.
@@ -233,6 +240,7 @@ runs:
233240
push: ${{ inputs.push }}
234241
secrets: ${{ steps.inputs.outputs.secrets }}
235242
tags: ${{ steps.metadata.outputs.tags }}
243+
load: ${{ inputs.load }}
236244

237245
- id: outputs
238246
name: Get Outputs

0 commit comments

Comments
 (0)