File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 92
92
push-image :
93
93
name : Docker Image Build
94
94
runs-on : ubuntu-latest
95
- if : github.ref == 'refs/heads/master' && github.repository_owner == 'holo-routing'
95
+ # if: github.ref == 'refs/heads/master' && github.repository_owner == 'holo-routing'
96
+ permissions :
97
+ id-token : write
98
+ attestations : write
99
+ # packages: write
96
100
steps :
97
101
- uses : actions/checkout@v4
98
102
- uses : docker/login-action@v3
@@ -106,3 +110,13 @@ jobs:
106
110
docker push ghcr.io/holo-routing/holod:latest
107
111
docker build . -f docker/Dockerfile.holo-bundle --tag ghcr.io/holo-routing/holo-bundle:latest
108
112
docker push ghcr.io/holo-routing/holo-bundle:latest
113
+ - name : Attest holod image
114
+ uses : actions/attest-build-provenance@v2
115
+ with :
116
+ subject-name : ghcr.io/holo-routing/holod:latest
117
+ push-to-registry : true
118
+ - name : Attest holo-bundle image
119
+ uses : actions/attest-build-provenance@v2
120
+ with :
121
+ subject-name : ghcr.io/holo-routing/holo-bundle:latest
122
+ push-to-registry : true
You can’t perform that action at this time.
0 commit comments