Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build-and-sign-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ inputs:
gcp_region:
description: 'Google region to push images to'
required: true
push:
description: 'To push or not'
default: 'true'

runs:
using: composite
Expand Down Expand Up @@ -160,7 +163,7 @@ runs:
file: ./images/Dockerfile.${{ inputs.component }}
platforms: linux/amd64
tags: '${{ steps.meta.outputs.tags }}'
push: true
push: '${{ inputs.push }}'
# TODO: Handle in-container script auth better
build-args: |
PROTECT_VERSION=${{ steps.version.outputs.protect_version }}
Expand All @@ -169,6 +172,7 @@ runs:
registry_token=${{ steps.google-auth.outputs.access_token }}

- name: 'Cosign sign all images'
if: '${{ inputs.push == true }}'
shell: bash
run: |
for tag in $(echo '${{ steps.meta.outputs.tags }}'); do
Expand Down