ci: use variables
This commit is contained in:
parent
80674f6794
commit
104fff6f53
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
branch: main
|
||||
|
|
Loading…
Add table
Reference in a new issue