ci-3011 - GAR support (#404)

* adds support for GAR
This commit is contained in:
Eoin McAfee
2023-09-20 14:17:12 +01:00
committed by GitHub
parent e55012b8de
commit c354cd6a8d
2 changed files with 85 additions and 27 deletions
+21
View File
@@ -113,6 +113,26 @@ docker run --rm \
plugins/docker --dry-run
```
### GAR (Google Artifact Registry)
```yaml
kind: pipeline
name: default
type: docker
steps:
- name: push-to-gar
image: plugins/gcr
pull: never
settings:
tag: latest
repo: project-id/repo/image-name
registry_type: GAR
location: us
json_key:
from_secret: gcr_json_key
```
## Developer Notes
- When updating the base image, you will need to update for each architecture and OS.
@@ -137,3 +157,4 @@ docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator
```
Create your pull request for the release. Get it merged then tag the release.