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
7 changes: 6 additions & 1 deletion .github/workflows/docker-build-and-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ inputs:
labels:
description: "Docker Image Labels"
required: true
platforms:
description: "Target platforms for Docker build"
required: false
default: "linux/amd64,linux/arm64"
version:
description: 'Release version Format: x.y.z-[alpha|beta|pre].n'
required: true
Expand Down Expand Up @@ -54,6 +58,7 @@ runs:
context: .
file: ./docker/${{ inputs.dockerfile }}
push: ${{ github.event_name != 'pull_request' }}
platforms: ${{ inputs.platforms }}
tags: ${{ steps.set-tags.outputs.tags }}
labels: ${{ inputs.labels }}
cache-from: type=gha
Expand All @@ -69,4 +74,4 @@ runs:
# Split TAGS by comma and sign each tag separately
echo "${TAGS}" | tr ',' '\n' | while read -r tag; do
cosign sign --yes "${tag}@${DIGEST}"
done
done
Loading