-
Notifications
You must be signed in to change notification settings - Fork 15
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
1 parent
2797260
commit 3123d83
Showing
1 changed file
with
3 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -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: | ||
|
@@ -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 --> |