auto-update documentation

This commit is contained in:
thegeeklab-bot 2023-08-11 07:21:04 +00:00
parent 8d008737e1
commit 0b7723b715
2 changed files with 11 additions and 18 deletions

View File

@ -95,7 +95,7 @@ steps:
tags: latest
```
**Multiple registries:**
#### Push to multiple registries
```yaml
kind: pipeline
@ -105,26 +105,19 @@ steps:
- name: docker
image: thegeeklab/drone-docker-buildx:23
privileged: true
environment:
DOCKER_REGISTRY_PASSWORD:
from_secret: docker_registry_password
GITHUB_REGISTRY_PASSWORD:
from_secret: github_registry_password
settings:
repo:
repo:
- octocat/example
- ghcr.io/octocat/example
tags: latest
registries: |
registries:
- username: "octocat"
password: "$DOCKER_REGISTRY_PASSWORD"
- registry: "ghcr.io"
username: "octocat"
password: "$GITHUB_REGISTRY_PASSWORD"
registries:
- username: octocat
password: docker-password
- registry: ghcr.io
username: octocat
password: ghrc-password
```
## Build
Build the binary with the following command:

View File

@ -295,6 +295,6 @@ properties:
required: false
- name: registries
description: Credentials for multiple registries described in YAML format. Check out the Examples for more information.
type: string
required: false
description: List of registry credentials. Check out the Examples for more information.
type: list
required: false