vegapokerbot/.drone.yml

37 lines
686 B
YAML
Raw Permalink Normal View History

2024-05-10 12:10:25 +03:00
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
2024-05-10 13:00:15 +03:00
registry:
from_secret: CI_REGISTRY
username:
2024-05-10 12:44:09 +03:00
from_secret: CI_REGISTRY_USER
password:
2024-05-10 12:44:09 +03:00
from_secret: CI_REGISTRY_PASSWORD
repo:
2024-05-10 12:44:09 +03:00
from_secret: CI_APP_IMAGE
tags:
- latest
2024-05-23 15:01:49 +03:00
- name: deploy
image: alpine:latest
environment:
2024-05-23 15:10:37 +03:00
DEPLOYER_AUTH:
from_secret: DEPLOYER_AUTH
2024-05-23 15:01:49 +03:00
DEPLOYER_URL:
from_secret: DEPLOYER_URL
commands:
- apk add --no-cache curl
2024-05-23 15:13:10 +03:00
- curl -H "$DEPLOYER_AUTH" $DEPLOYER_URL
2024-05-23 15:01:49 +03:00
when:
branch:
- master
2024-05-10 12:27:14 +03:00
2024-05-10 12:10:25 +03:00
trigger:
event:
- push
2024-05-13 16:57:55 +03:00
branch:
- master