Skip to content

Commit

Permalink
Create block comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dsotirakis committed Nov 27, 2024
1 parent 2797260 commit 3123d83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actions/login-to-gar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This is a composite GitHub Action, used to login to Google Artifact Registry (GA
It uses [OIDC authentication](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect)
which means that only workflows which get triggered based on certain rules can trigger these composite workflows.

<!-- x-release-please-start-version -->
```yaml
name: CI
on:
Expand All @@ -19,9 +20,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: grafana/shared-workflows/actions/[email protected] <!-- x-release-please-version -->
- uses: grafana/shared-workflows/actions/[email protected]
id: login-to-gar
with:
registry: "<YOUR-GAR>" # e.g. us-docker.pkg.dev
environment: "prod" # can be either dev/prod
```
<!-- x-release-please-end-version -->

0 comments on commit 3123d83

Please sign in to comment.