Skip to content

Commit e9a1387

Browse files
authored
Create notarize-docker-image-bom.yml
1 parent 4a85b24 commit e9a1387

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: notarize-docker-image-bom
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
notarize-docker-image:
9+
runs-on: ubuntu-latest
10+
11+
services:
12+
registry:
13+
image: registry:2
14+
ports:
15+
- 5000:5000
16+
17+
steps:
18+
# Pull an image to notarize; This is where you'd build your local image instead using your preferred method
19+
- name: debug
20+
run: docker pull codenotary/cas:bom-docker
21+
shell: bash
22+
23+
24+
- name: Notarize Docker image
25+
#--> Run the GitHub action
26+
# uses: codenotary/cas-notarize-docker-image-github-action@v1.0.0
27+
uses: codenotary/cas-notarize-docker-image-bom-github-action@main
28+
with:
29+
# make it notarize it's own Docker image B-)
30+
asset: docker://codenotary/cas:bom-docker
31+
cas_api_key: ${{ secrets.CAS_API_KEY }}

0 commit comments

Comments
 (0)