This repository has been archived on 2021-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
fbrinker-tileboard/.drone.yml

66 lines
1.2 KiB
YAML
Raw Normal View 히스토리

2019-10-19 16:38:39 +00:00
---
kind: pipeline
2021-03-20 17:28:40 +00:00
type: docker
name: Production
2019-10-19 16:38:39 +00:00
2019-10-19 16:31:14 +00:00
steps:
- name: Build Dockerfile
2021-03-20 17:28:40 +00:00
image: alpine
commands:
- apk update && apk add bash curl grep jq sed
2021-03-20 17:28:40 +00:00
- ./build.sh
- name: Build & Publish Image
2019-10-19 16:31:14 +00:00
image: plugins/docker
settings:
repo: fbrinker/tileboard
2021-05-10 16:37:09 +00:00
dockerfile: Dockerfile
2019-10-19 16:31:14 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
branch:
2021-05-11 19:28:26 +00:00
- main
---
kind: pipeline
type: docker
name: Development
steps:
- name: Check for changes in master branch
image: alpine
commands:
- apk update && apk add bash curl grep jq sed
- ./check-master-for-changes.sh
- name: Build & Publish Development Image
image: plugins/docker
settings:
repo: fbrinker/tileboard
dockerfile: Dockerfile.nightly
target: dev
tags: dev
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: Build & Publish Nightly Image
image: plugins/docker
settings:
repo: fbrinker/tileboard
dockerfile: Dockerfile.nightly
target: nightly
tags: nightly
username:
from_secret: docker_username
password:
from_secret: docker_password
2019-10-19 16:44:37 +00:00
trigger:
branch:
2021-05-11 19:28:26 +00:00
- main