mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-05 01:25:23 -05:00
make signing keys optional in build step, since e2e test does not require signing (#254)
* make signing keys optional in build step, since e2e test does not require signing
This commit is contained in:
parent
9bab6dbc64
commit
c279bb7a38
10
.github/actions/build_cli/action.yml
vendored
10
.github/actions/build_cli/action.yml
vendored
@ -5,13 +5,16 @@ description: |
|
|||||||
inputs:
|
inputs:
|
||||||
cosign-public-key:
|
cosign-public-key:
|
||||||
description: 'Cosign public key'
|
description: 'Cosign public key'
|
||||||
required: true
|
required: false
|
||||||
|
default: ''
|
||||||
cosign-private-key:
|
cosign-private-key:
|
||||||
description: 'Cosign private key'
|
description: 'Cosign private key'
|
||||||
required: true
|
required: false
|
||||||
|
default: ''
|
||||||
cosign-password:
|
cosign-password:
|
||||||
description: 'Password for Cosign private key'
|
description: 'Password for Cosign private key'
|
||||||
required: true
|
required: false
|
||||||
|
default: ''
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
@ -81,6 +84,7 @@ runs:
|
|||||||
COSIGN_PUBLIC_KEY: ${{ inputs.cosign-public-key }}
|
COSIGN_PUBLIC_KEY: ${{ inputs.cosign-public-key }}
|
||||||
COSIGN_PRIVATE_KEY: ${{ inputs.cosign-private-key }}
|
COSIGN_PRIVATE_KEY: ${{ inputs.cosign-private-key }}
|
||||||
COSIGN_PASSWORD: ${{ inputs.cosign-password }}
|
COSIGN_PASSWORD: ${{ inputs.cosign-password }}
|
||||||
|
if: ${{ inputs.cosign-public-key != '' && inputs.cosign-private-key != '' && inputs.cosign-password != '' }}
|
||||||
|
|
||||||
- name: Release CLI
|
- name: Release CLI
|
||||||
# GitHub endorsed release project. See: https://github.com/actions/create-release
|
# GitHub endorsed release project. See: https://github.com/actions/create-release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user