use settings block
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline is pending

This commit is contained in:
Vri 🌈 2023-05-16 20:23:43 +02:00
parent 1275ad4d94
commit cc3caa58b6
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -1,13 +1,13 @@
pipeline: pipeline:
build-and-push: build-and-push:
image: plugins/docker image: plugins/docker
settings:
registry: code.cozy.town registry: code.cozy.town
username: ${REGISTRY_USERNAME} username:
password: ${REGISTRY_TOKEN} from_secret: registry_username
password:
from_secret: registry_token
repo: code.cozy.town/vrifox/hugoci repo: code.cozy.town/vrifox/hugoci
tags: tags:
- latest - latest
cache_from: code.cozy.town/vrifox/hugoci:latest cache_from: code.cozy.town/vrifox/hugoci:latest
secrets:
- registry_username
- registry_token