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:
|
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
|
Loading…
Add table
Reference in a new issue