You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,18 @@
1
-
# Using SignPath with GitHub Actions
1
+
# Using SignPath with GitHub Actions or Azure DevOps
2
2
3
-
This project demonstrates signing artifacts using [SignPath](https://about.signpath.io) from GitHub Actions workflows.
3
+
This project demonstrates signing artifacts using [SignPath](https://about.signpath.io) from GitHub Actions workflows or Azure DevOps pipelines.
4
+
5
+
## GitHub
4
6
5
7
Signing is invoked in the `sign` step of [.github/workflows/build-and-sign.yml](.github/workflows/build-and-sign.yml).
6
8
7
-
See [github.com/SignPath/github-actions](https://github.com/SignPath/github-actions) for a full documentation of SignPath actions.
9
+
See [the documentation](https://about.signpath.io/documentation/trusted-build-systems/github) for a full documentation of the integration.
10
+
11
+
## Azure DevOps
12
+
13
+
Signing is invoked in the `Sign` step of [azure-pipelines.yml](azure-pipelines.yml).
14
+
15
+
See [the documentation](https://about.signpath.io/documentation/trusted-build-systems/azure-devops) for a full documentation of the integration.
8
16
9
17
## Policy demonstrations
10
18
@@ -22,14 +30,21 @@ To use this demo with your own SignPath subscription, you need to get access to
22
30
* In your SignPath organization, create a project with
23
31
* Slug: `Demo_Application`
24
32
* Repository URLs: Your forked GitHub repository, e.g. `https://github.com/my/github-actions-demo`
25
-
* Trusted Build Systems: Link _GitHub.com_
33
+
* Trusted Build Systems: Link _GitHub.com_ or _AzureDevOps.com_ respectively
26
34
* Add the following artifact configuration as default: [.signpath/artifact-configurations/default.xml](.signpath/artifact-configurations/default.xml)
27
35
* Add a `test-signing` signing policy
28
36
* Add a `release-signing` signing policy with origin verification enabled and restricted to `main` and `release/*` branches
37
+
38
+
### GitHub configuration
39
+
29
40
* Create an [API token] in SignPath and add it as a GitHub Actions secret `SIGNPATH_API_TOKEN` (make sure the user is a submitter in your signing policies)
30
41
* Add your SignPath _Organization ID_ as a GitHub Actions variable `SIGNPATH_ORGANIZATION_ID` (click your organization's name at the upper right corner)
31
42
* Enable Actions for your GitHub repository
32
43
44
+
### Azure DevOps configuration
45
+
46
+
* Install the extension and add a service connection to your project
0 commit comments