File tree Expand file tree Collapse file tree 4 files changed +52
-9
lines changed Expand file tree Collapse file tree 4 files changed +52
-9
lines changed Original file line number Diff line number Diff line change 11name : aws-cicd
22on :
3- push :
4- branches :
5- - main
63 workflow_dispatch :
7- pull_request :
4+ workflow_call :
85concurrency :
96 group : " AWS"
10- # cancel-in-progress: true
7+ cancel-in-progress : true
118jobs :
129 deploy :
1310 name : AWS
Original file line number Diff line number Diff line change 1+
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+ workflow_dispatch :
10+
11+ jobs :
12+ aws :
13+ uses : ./.github/workflows/aws_cicd.yaml
14+
15+ gcp :
16+ uses : ./.github/workflows/gcp_cicd.yaml
17+
18+ slsa :
19+ uses : ./.github/workflows/provenance.yaml
20+ needs : [aws, gcp]
Original file line number Diff line number Diff line change 1+ <<<<<<< HEAD
12name : gcp-cicd
3+ =======
4+ name : gcp
5+ >>>>>>> b0b73b43 (Add SLSA3 provenance to FC builds)
26on :
3- push :
4- branches :
5- - main
67 workflow_dispatch :
7- pull_request :
8+ workflow_call :
89concurrency :
910 group : " GCP"
1011 cancel-in-progress : true
Original file line number Diff line number Diff line change 1+ on :
2+ workflow_call :
3+
4+ jobs :
5+ build :
6+ outputs :
7+ hashes : ${{ steps.hash.outputs.hashes }}
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Generate hashes
11+ shell : bash
12+ id : hash
13+ run : |
14+ make synth
15+ echo "hashes=$(tar cf - infrastructure | sha256sum | base64 -w0)" >> "$GITHUB_OUTPUT"
16+ provenance :
17+ needs : [build]
18+ permissions :
19+ actions : read
20+ id-token : write
21+ contents : write
22+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.5.0
23+ with :
24+ base64-subjects : " ${{ needs.build.outputs.hashes }}"
25+ upload-assets : true
You can’t perform that action at this time.
0 commit comments