mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
8383077a9b
* Sign CLI & create release on v* tag * Extended description to mention new feature in this action Co-authored-by: Fabian Kammel <fk@edgelss.systems>
30 lines
814 B
YAML
30 lines
814 B
YAML
# Right now this workflow is only used as a test. We want to see that a commit does not break the build. The resulting artifact is not used currently.
|
|
name: Build CLI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-cli:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
id: checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build cli
|
|
uses: ./.github/actions/build_cli
|
|
with:
|
|
cosign-public-key: ${{ secrets.COSIGN_PUBLIC_KEY }}
|
|
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }}
|
|
cosign-password: ${{ secrets.COSIGN_PASSWORD }}
|