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

View File

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