a2088a09ac
Signed-off-by: jffarge <jf@dagger.io>
31 lines
880 B
Markdown
31 lines
880 B
Markdown
---
|
|
sidebar_label: gcr
|
|
---
|
|
|
|
# alpha.dagger.io/gcp/gcr
|
|
|
|
Google Container Registry
|
|
|
|
```cue
|
|
import "alpha.dagger.io/gcp/gcr"
|
|
```
|
|
|
|
## gcr.#Credentials
|
|
|
|
Credentials retriever for GCR
|
|
|
|
### gcr.#Credentials Inputs
|
|
|
|
| Name | Type | Description |
|
|
| ------------- |:-------------: |:-------------: |
|
|
|*config.region* | `string` |GCP region |
|
|
|*config.project* | `string` |GCP project |
|
|
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|
|
|
|
### gcr.#Credentials Outputs
|
|
|
|
| Name | Type | Description |
|
|
| ------------- |:-------------: |:-------------: |
|
|
|*username* | `"oauth2accesstoken"` |GCR registry username |
|
|
|*secret* | `string` |GCR registry secret |
|