use settings block
This commit is contained in:
parent
1275ad4d94
commit
cc3caa58b6
1 changed files with 10 additions and 10 deletions
|
@ -1,13 +1,13 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
registry: code.cozy.town
|
settings:
|
||||||
username: ${REGISTRY_USERNAME}
|
registry: code.cozy.town
|
||||||
password: ${REGISTRY_TOKEN}
|
username:
|
||||||
repo: code.cozy.town/vrifox/hugoci
|
from_secret: registry_username
|
||||||
tags:
|
password:
|
||||||
- latest
|
from_secret: registry_token
|
||||||
cache_from: code.cozy.town/vrifox/hugoci:latest
|
repo: code.cozy.town/vrifox/hugoci
|
||||||
secrets:
|
tags:
|
||||||
- registry_username
|
- latest
|
||||||
- registry_token
|
cache_from: code.cozy.town/vrifox/hugoci:latest
|
Loading…
Reference in a new issue