-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (45 loc) · 1.58 KB
/
call-reusable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Call a reusable workflow and use its outputs
on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
# args:
# runs-on: ubuntu-latest
# steps:
# - run: echo "TODO generate arguments"
# build:
# needs: args
# uses: laurentsimon/slsa-on-github/.github/workflows/slsa-builder-go.yml@feat/reusable
# with:
# go-version: 1.17
# upload:
# runs-on: ubuntu-latest
# needs: build
# steps:
# - uses: 'actions/download-artifact@v2'
# with:
# name: ${{ needs.build.outputs.go-binary-name }}
# - run: |
# echo name is ${{ needs.build.outputs.go-binary-name }}
# chmod a+x ./${{ needs.build.outputs.go-binary-name }}
# ./${{ needs.build.outputs.go-binary-name }}
slsa-run:
permissions:
id-token: write # For signing.
contents: write # For asset uploads.
packages: write
#uses: slsa-framework/slsa-github-generator/.github/workflows/delegator_generic_slsa3.yml@main
uses: laurentsimon/slsa-github-generator/.github/workflows/delegator_generic_slsa3.yml@feat/more-secrets
#uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
slsa-token: random-string
secrets:
secret1: oineowqcjmcoqicnmocnjf
secret2: d0j982fn9n2fnqonnjrpivmekv
secret3: d0j982fn9n2fnqonnjrpivmekv
secret4: d0j982fn9n2fnqonnjrpivmekv
secret5: d0j982fn9n2fnqonnjrpivmekv
secret6: d0j982fn9n2fnqonnjrpivmekv
secret7: d0j982fn9n2fnqonnjrpivmekv
secret8: d0j982fn9n2fnqonnjrpivmekv