Skip to content

jfrog/jfrog-github-oidc-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Actions and JFrog Integration with OIDC Example

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.

Table of Contents

Introduction

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.

Prerequisites

Before you begin, make sure you have the following prerequisites:

  • A GitHub account
  • A JFrog Artifactory account
  • OIDC configured in JFrog Artifactory (see documentation)

Getting Started

  1. Clone this repository:
git clone https://github.com/yourusername/github-actions-jfrog-oidc-example.git
cd github-actions-jfrog-oidc-example
  1. Customize the GitHub Actions workflows in the .github/workflows directory to suit your project's needs.

  2. Update the configuration files and scripts as required for your specific use case.

  3. Commit your changes and push them to your GitHub repository.

  4. Check the Actions tab on your GitHub repository to see the workflow in action.

Workflow Overview

The workflow in this example includes the following steps:

  1. Build: Build your project using GitHub Actions.
  2. Authenticate with JFrog: Authenticate with JFrog Artifactory using OIDC.
  3. Publish Artifact: Publish the built artifact to JFrog Artifactory.

Configuration

Adjust the configuration files to match your project structure and requirements:

  • .github/workflows/main.yml: GitHub Actions workflow configuration.

Secrets

These secrets are used to authenticate and interact with JFrog Artifactory securely.

References

Contributing

Feel free to contribute to this example by creating issues or pull requests. Your feedback and contributions are highly appreciated!

License

This example repository is licensed under the MIT License.


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.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •