feat: Add registry configuration
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Simon 2023-06-26 15:04:37 +02:00
parent a6071706c6
commit b607230f64
1 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,15 @@
---
# drone encrypt ResiLien/docker-s3-volume-watch $REGISTRY_USERNAME
kind: secret
name: REGISTRY_USERNAME
data: nWD+Q9IZSvWw6aDlxBgjvaQqsyU9Muub4A9wJMIfZ8A18g==
---
# drone encrypt ResiLien/docker-s3-volume-watch $REGISTRY_PASSWORD
kind: secret
name: REGISTRY_PASSWORD
data: fshphgiLW3gyuwhKHgSe7m6Y/LXtse2VEYABvjWYCov8w85+CMa5hjkHSiO+dgRCMOC4+OE5ZlZjD/5hAURi6TsBTZw0h5fWsnEjMR6L
---
kind: pipeline
type: docker
@ -7,8 +19,11 @@ steps:
- name: docker
image: plugins/docker
settings:
username: kevinbacon
password: pa55word
repo: simonc/docker-s3-volume-watch
registry: registry.weko.io
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
repo: registry.weko.io/simonc/docker-s3-volume-watch
tags:
- latest