Skip to content

Commit

Permalink
chore: [SRE-830] add load flag (#43)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
willstord authored Jun 26, 2024
1 parent deb1b54 commit 4d20bf6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ inputs:
(Optional) A list of labels to be added to the default ones when
pushing the image.
required: false
load:
default: false
description: >-
(Optional) When set to true, the `load` input acts as a shorthand for --output=type=docker,
automatically loading the single-platform build result into the local Docker images.
This is useful for testing the image locally to the GHA instance.
required: false
oban-fingerprint:
description: >-
(Optional) Public key for fetching the oban pro repository data.
Expand Down Expand Up @@ -233,6 +240,7 @@ runs:
push: ${{ inputs.push }}
secrets: ${{ steps.inputs.outputs.secrets }}
tags: ${{ steps.metadata.outputs.tags }}
load: ${{ inputs.load }}

- id: outputs
name: Get Outputs
Expand Down

0 comments on commit 4d20bf6

Please sign in to comment.