You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.6 KiB
YAML

kind: pipeline
type: docker
name: default
steps:
- name: debug-secrets
image: alpine
commands:
- echo "Vault API URL is $${VAULT_API_URL}"
environment:
VAULT_API_URL:
from_secret: VAULT_API_URL
- name: wordpress
image: plugins/docker
settings:
repo: registry.sn48.zivili.ch/meow/wp-shop-dev-tb
tags:
- amd64-1.0.0
- latest
registry: registry.sn48.zivili.ch
dockerfile: docker/wordpress/Dockerfile
context: docker/wordpress
username:
from_secret: PORTUS_USER
password:
from_secret: PORTUS_PASSWORD
- name: cron
image: plugins/docker
settings:
repo: registry.sn48.zivili.ch/meow/wp-cron-shop-dev-tb
tags:
- amd64-1.0.0
- latest
registry: registry.sn48.zivili.ch
dockerfile: docker/wp-cron/Dockerfile
context: docker/wp-cron
username:
from_secret: PORTUS_USER
password:
from_secret: PORTUS_PASSWORD
- name: deploy
image: registry.sn48.zivili.ch/meow/drone-deploy:amd64-1.0.0
pull: always
environment:
SSH_HOST:
from_secret: SSH_HOST
SSH_USER:
from_secret: SSH_USER
SSH_KEY:
from_secret: SSH_KEY
SSH_PORT:
from_secret: SSH_PORT
SSH_FINGERPRINT:
from_secret: SSH_FINGERPRINT
PORTUS_USER:
from_secret: PORTUS_USER
PORTUS_PASSWORD:
from_secret: PORTUS_PASSWORD
VAULT_API_URL:
from_secret: VAULT_API_URL
DRONE_AGENT1_TOKEN:
from_secret: DRONE_AGENT1_TOKEN
dockerconfigjson:
from_secret: dockerconfigjson