vikunja-api/vendor/src.techknowlogick.com/xgo/.drone.yml

190 lines
3.5 KiB
YAML
Raw Normal View History

2019-04-22 14:02:18 +02:00
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: dry-run-base
pull: always
image: plugins/docker
settings:
context: docker/base
dockerfile: docker/base/Dockerfile
dry_run: true
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: base
username:
from_secret: docker_username
when:
event:
- pull_request
- name: dry-run-go-1.14.3
2019-04-22 14:02:18 +02:00
pull: always
image: plugins/docker
settings:
context: docker/go-1.14.3
dockerfile: docker/go-1.14.3/Dockerfile
2019-04-22 14:02:18 +02:00
dry_run: true
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.14.3
2019-04-22 14:02:18 +02:00
username:
from_secret: docker_username
when:
event:
- pull_request
depends_on:
- dry-run-base
2019-04-22 14:02:18 +02:00
- name: dry-run-go-1.13.11
2019-04-22 14:02:18 +02:00
pull: always
image: plugins/docker
settings:
context: docker/go-1.13.11
dockerfile: docker/go-1.13.11/Dockerfile
2019-04-22 14:02:18 +02:00
dry_run: true
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.13.11
2019-04-22 14:02:18 +02:00
username:
from_secret: docker_username
when:
event:
- pull_request
depends_on:
- dry-run-base
2019-04-22 14:02:18 +02:00
- name: build-base
pull: always
image: plugins/docker
settings:
context: docker/base
dockerfile: docker/base/Dockerfile
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: base
username:
from_secret: docker_username
when:
branch:
- master
event:
exclude:
- pull_request
- name: build-go-1.14.3
2019-04-22 14:02:18 +02:00
pull: always
image: plugins/docker
settings:
context: docker/go-1.14.3
dockerfile: docker/go-1.14.3/Dockerfile
2019-04-22 14:02:18 +02:00
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.14.3
2019-04-22 14:02:18 +02:00
username:
from_secret: docker_username
when:
branch:
- master
event:
exclude:
- pull_request
depends_on:
- build-base
2019-04-22 14:02:18 +02:00
- name: build-go-1.14.x
2019-04-22 14:02:18 +02:00
pull: always
image: plugins/docker
settings:
context: docker/go-1.14.x
dockerfile: docker/go-1.14.x/Dockerfile
2019-04-22 14:02:18 +02:00
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.14.x
2019-04-22 14:02:18 +02:00
username:
from_secret: docker_username
when:
branch:
- master
event:
exclude:
- pull_request
depends_on:
- build-go-1.14.3
2019-04-22 14:02:18 +02:00
- name: build-go-1.13.11
2019-05-07 21:42:24 +02:00
pull: always
image: plugins/docker
settings:
context: docker/go-1.13.11
dockerfile: docker/go-1.13.11/Dockerfile
2019-05-07 21:42:24 +02:00
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.13.11
2019-05-07 21:42:24 +02:00
username:
from_secret: docker_username
when:
branch:
- master
event:
exclude:
- pull_request
depends_on:
- build-base
2019-05-07 21:42:24 +02:00
- name: build-go-1.13.x
2019-04-22 14:02:18 +02:00
pull: always
image: plugins/docker
settings:
context: docker/go-1.13.x
dockerfile: docker/go-1.13.x/Dockerfile
2019-04-22 14:02:18 +02:00
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: go-1.13.x
2019-04-22 14:02:18 +02:00
username:
from_secret: docker_username
when:
branch:
- master
event:
exclude:
- pull_request
depends_on:
- build-go-1.13.11
2019-04-22 14:02:18 +02:00
- name: build-go-latest
2019-04-22 14:02:18 +02:00
pull: always
image: plugins/docker
settings:
context: docker/go-latest
dockerfile: docker/go-latest/Dockerfile
2019-04-22 14:02:18 +02:00
password:
from_secret: docker_password
repo: techknowlogick/xgo
tags: latest
2019-04-22 14:02:18 +02:00
username:
from_secret: docker_username
when:
branch:
- master
event:
exclude:
- pull_request
depends_on:
- build-go-1.14.x
2019-04-22 14:02:18 +02:00
...