File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1+ paths-ignore :
2+ - " docs/**"
3+ - " README.md"
4+ - " **/README.md"
Original file line number Diff line number Diff line change 66 - main
77
88permissions :
9+ attestations : write
910 id-token : write
1011 contents : read
1112
1819jobs :
1920 cicd :
2021 name : Build and Deploy to Azure Web App
21-
2222 runs-on : ubuntu-latest
23-
2423 steps :
2524 # Checkout the repo
2625 - uses : actions/checkout@v4
@@ -71,10 +70,13 @@ jobs:
7170 - name : logout
7271 run : |
7372 az logout
74-
75- - uses : advanced-security/reusable-workflows/.github/workflows/container.yml@v0.2.0
76- continue-on-error : true
77- with :
78- # This is used for tagging the container image
79- version : v1.0.0
80- container-file : ./src/webapp01/Dockerfile
73+
74+ # https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-and-reusable-workflows-to-achieve-slsa-v1-build-level-3
75+ container-build-publish :
76+ name : Build and Publish Container Image
77+ needs : []
78+ uses : advanced-security/reusable-workflows/.github/workflows/container.yml@v0.2.0
79+ with :
80+ # This is used for tagging the container image
81+ version : v1.0.0
82+ container-file : ./src/webapp01/Dockerfile
You can’t perform that action at this time.
0 commit comments