From 0b7723b715d1c67f6d3b8a222d819f3c963729eb Mon Sep 17 00:00:00 2001 From: thegeeklab-bot Date: Fri, 11 Aug 2023 07:21:04 +0000 Subject: [PATCH] auto-update documentation --- content/_index.md | 23 ++++++++--------------- data/data.yaml | 6 +++--- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/content/_index.md b/content/_index.md index d9ecb25..d340bc0 100644 --- a/content/_index.md +++ b/content/_index.md @@ -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: diff --git a/data/data.yaml b/data/data.yaml index fea75e6..de32ada 100644 --- a/data/data.yaml +++ b/data/data.yaml @@ -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 \ No newline at end of file + description: List of registry credentials. Check out the Examples for more information. + type: list + required: false