determinant-of-the-day/.drone.yml

31 lines
681 B
YAML
Raw Permalink Normal View History

2021-03-05 00:12:34 +00:00
kind: pipeline
name: default
steps:
- name: generate
image: knovus/drone-openfaas
settings:
template: python3-http
- name: build
image: plugins/docker
settings:
username:
from_secret: docker_registry_user
password:
from_secret: docker_registry_pass
registry: registry.serguzim.me
repo: registry.serguzim.me/faas/${DRONE_REPO_NAME}
context: ./build/${DRONE_REPO_NAME}/
dockerfile: ./build/${DRONE_REPO_NAME}/Dockerfile
tags: latest
- name: deploy
image: knovus/drone-openfaas
settings:
deploy: true
url: https://faas.serguzim.me
password:
from_secret: openfaas_password
registry: registry.serguzim.me