From 104fff6f537f577cce3fe11977dacc055e61a782 Mon Sep 17 00:00:00 2001 From: nyyu Date: Wed, 16 Nov 2022 20:03:19 +0100 Subject: [PATCH] ci: use variables --- .woodpecker.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d7bb6d2..839a2e7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,11 +2,12 @@ pipeline: docker: image: woodpeckerci/plugin-docker-buildx settings: - username: bot + username: + from_secret: registry_username password: - from_secret: nexus_password - repo: docker.nyyu.dev/nyyu/pyload-ng - registry: docker.nyyu.dev + from_secret: registry_password + repo: ${DOCKER_REGISTRY}/${CI_REPO_OWNER}/pyload-ng + registry: ${DOCKER_REGISTRY} tags: latest when: - branch: main \ No newline at end of file + branch: main