ci: use variables

This commit is contained in:
nyyu 2022-11-16 20:03:19 +01:00
parent 80674f6794
commit 104fff6f53

View file

@ -2,11 +2,12 @@ pipeline:
docker: docker:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
username: bot username:
from_secret: registry_username
password: password:
from_secret: nexus_password from_secret: registry_password
repo: docker.nyyu.dev/nyyu/pyload-ng repo: ${DOCKER_REGISTRY}/${CI_REPO_OWNER}/pyload-ng
registry: docker.nyyu.dev registry: ${DOCKER_REGISTRY}
tags: latest tags: latest
when: when:
branch: main branch: main