auto-update documentation

This commit is contained in:
thegeeklab-bot 2023-08-09 09:46:40 +00:00
parent 95c6282a0b
commit 8d008737e1
2 changed files with 36 additions and 1 deletions

View File

@ -95,6 +95,36 @@ steps:
tags: latest
```
**Multiple registries:**
```yaml
kind: pipeline
name: default
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:
- 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"
```
## Build
Build the binary with the following command:

View File

@ -208,7 +208,7 @@ properties:
description: |
Repository name for the image. If the image is to be pushed to registries other than the default DockerHub,
it is necessary to set `repo` as fully-qualified name.
type: string
type: list
required: false
- name: registry
@ -293,3 +293,8 @@ properties:
This should be used with caution and avoided whenever possible.
type: list
required: false
- name: registries
description: Credentials for multiple registries described in YAML format. Check out the Examples for more information.
type: string
required: false