-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
# Using Workload Identity Federation in GitHub Actions | ||
[![Cover Slide](cover-slide.png)](https://workload-identity-federation-demo-website.storage.googleapis.com/index.html)) | ||
|
||
[![GitHub branch check runs](https://img.shields.io/github/check-runs/AdrianoKF/workload-identity-federation-demo/main?label=CI)](https://github.com/AdrianoKF/workload-identity-federation-demo/actions) [![Current slide deck](https://img.shields.io/badge/slides-current-blue)](https://workload-identity-federation-demo-website.storage.googleapis.com/index.html) | ||
|
||
You can find the latest version of the slide deck here: | ||
|
||
https://workload-identity-federation-demo-website.storage.googleapis.com/index.html | ||
**https://workload-identity-federation-demo-website.storage.googleapis.com/index.html** | ||
|
||
## Deployment | ||
|
||
This repository doubles as the demonstration of the concepts in the talk. | ||
|
||
It contains a [GitHub Actions workflow `.github/workflows/deploy.yml`](.github/workflows/deploy.yml) that builds the slide deck SPA using <img src="https://sli.dev/logo.svg" width="24" style="vertical-align: middle"> [Slidev](https://sli.dev/) (go check it out!) and deploys it to a public Google Cloud Storage bucket. | ||
|
||
Authentication between the GitHub Actions runner and Google Cloud is set up using | ||
[Direct Workload Identity Federation](https://github.com/google-github-actions/auth?tab=readme-ov-file#direct-wif). | ||
|
||
Yes, deploying the generated page to GitHub Pages would have been simpler, but then I would have to cook up another artificial example for the demo 😉. | ||
|
||
## Running Locally | ||
## Working on the slides | ||
|
||
To start the slide show in dev mode: | ||
|
||
- `npm install` | ||
- `npm run dev` | ||
- visit http://localhost:3030 | ||
|
||
Edit and save [slides.md](./slides.md) to see the changes. | ||
Edit and save [`slides.md`](./slides.md) to see the changes. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.