mirror of
https://github.com/thegeeklab/drone-docker-buildx.git
synced 2024-06-01 16:09:41 +02:00
auto-update documentation
This commit is contained in:
parent
95c6282a0b
commit
8d008737e1
|
@ -95,6 +95,36 @@ steps:
|
||||||
tags: latest
|
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
|
||||||
|
|
||||||
Build the binary with the following command:
|
Build the binary with the following command:
|
||||||
|
|
|
@ -208,7 +208,7 @@ properties:
|
||||||
description: |
|
description: |
|
||||||
Repository name for the image. If the image is to be pushed to registries other than the default DockerHub,
|
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.
|
it is necessary to set `repo` as fully-qualified name.
|
||||||
type: string
|
type: list
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
- name: registry
|
- name: registry
|
||||||
|
@ -293,3 +293,8 @@ properties:
|
||||||
This should be used with caution and avoided whenever possible.
|
This should be used with caution and avoided whenever possible.
|
||||||
type: list
|
type: list
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
- name: registries
|
||||||
|
description: Credentials for multiple registries described in YAML format. Check out the Examples for more information.
|
||||||
|
type: string
|
||||||
|
required: false
|
Loading…
Reference in New Issue
Block a user