Skip to content

Commit a4c8c26

Browse files
committed
OIDC Training Materials
1 parent 496ecb1 commit a4c8c26

File tree

2 files changed

+8018
-0
lines changed

2 files changed

+8018
-0
lines changed

Diff for: oidc/README.md

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# GitHub Actions and JFrog Integration with OIDC Example
2+
3+
This example repository demonstrates how to seamlessly integrate GitHub Actions with JFrog, leveraging OpenID Connect (OIDC) for secure and authenticated interactions. This integration ensures a streamlined and automated workflow for managing artifacts with JFrog Artifactory in your GitHub repositories.
4+
5+
## Table of Contents
6+
7+
- [Introduction](#introduction)
8+
- [Prerequisites](#prerequisites)
9+
- [Getting Started](#getting-started)
10+
- [Workflow Overview](#workflow-overview)
11+
- [Configuration](#configuration)
12+
- [Secrets](#secrets)
13+
- [References](#references)
14+
- [Contributing](#contributing)
15+
- [License](#license)
16+
17+
## Introduction
18+
19+
This example illustrates how to set up GitHub Actions workflows to interact with JFrog Artifactory using OpenID Connect (OIDC) for authentication. GitHub Actions provide a powerful and automated way to build, test, and deploy your applications, and integrating JFrog adds efficient artifact management to the process.
20+
21+
## Prerequisites
22+
23+
Before you begin, make sure you have the following prerequisites:
24+
25+
- A GitHub account
26+
- A JFrog Artifactory account
27+
- Local/Remote and Virtual NPM Repository created for Build, to Resolve and Deploy(see documentation)
28+
- OIDC configured in JFrog Artifactory (see documentation)
29+
30+
## Getting Started
31+
32+
1. Clone this repository:
33+
34+
```
35+
git clone https://github.com/jfrog/trainings.git
36+
cd trainings
37+
```
38+
39+
2. Customize the GitHub Actions workflows in the `.github/workflows` directory to suit your project's needs.
40+
41+
3. Update the configuration files and scripts as required for your specific use case.
42+
43+
4. Commit your changes and push them to your GitHub repository.
44+
45+
5. Check the Actions tab on your GitHub repository to see the workflow in action.
46+
47+
## Workflow Overview
48+
49+
The workflow in this example includes the following steps:
50+
51+
1. **Build**: Build your project using GitHub Actions.
52+
2. **Authenticate with JFrog**: Authenticate with JFrog Artifactory using OIDC.
53+
3. **Publish Artifact**: Publish the built artifact to JFrog Artifactory.
54+
55+
## Configuration
56+
57+
Adjust the configuration files to match your project structure and requirements:
58+
59+
- `.github/workflows/github-oidc.yml`: GitHub Actions workflow configuration.
60+
61+
62+
## References
63+
64+
- [GitHub Actions Documentation](https://docs.github.com/en/actions)
65+
- [JFrog Artifactory OIDC Documentation](https://jfrog.com/help/r/jfrog-platform-administration-documentation/github-actions-oidc-integration-workflow)
66+
- [OpenID Connect (OIDC) Documentation](https://openid.net/connect/)
67+
68+
## Contributing
69+
70+
Feel free to contribute to this example by creating issues or pull requests. Your feedback and contributions are highly appreciated!
71+
72+
## License
73+
74+
This example repository is licensed under the [MIT License](LICENSE).
75+
76+
---
77+
78+
**Disclaimer**: This example is for educational and illustrative purposes. Ensure you adhere to the terms and conditions of GitHub and JFrog when using their services.

0 commit comments

Comments
 (0)