angry-squid/.drone.yml

75 lines
1.6 KiB
YAML
Raw Normal View History

2019-08-12 14:35:07 +00:00
kind: pipeline
name: default
steps:
2019-08-12 15:00:48 +00:00
- name: build-alpine
2019-08-12 14:35:07 +00:00
image: plugins/docker:linux-amd64
pull: always
settings:
2019-08-12 14:46:20 +00:00
dockerfile: Dockerfile-alpine
2019-08-12 14:35:07 +00:00
daemon_off: false
dry_run: true
repo: docker.asperti.com/paspo/angry-squid
tags:
- latest
2019-08-12 15:00:48 +00:00
- alpine-latest
2019-08-12 14:35:07 +00:00
when:
event:
exclude:
- tag
2019-08-12 15:00:48 +00:00
- name: build-debian
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile-debian
daemon_off: false
dry_run: true
repo: docker.asperti.com/paspo/angry-squid
tags:
- debian-latest
when:
event:
exclude:
- tag
- name: build_and_publish-alpine
2019-08-12 14:35:07 +00:00
image: plugins/docker:linux-amd64
pull: always
settings:
2019-08-12 14:46:20 +00:00
dockerfile: Dockerfile-alpine
2019-08-12 14:35:07 +00:00
auto_tag: true
2019-08-12 15:18:07 +00:00
auto_tag_suffix: alpine
2019-08-12 14:35:07 +00:00
daemon_off: false
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/angry-squid
tags:
- latest
2019-08-12 15:00:48 +00:00
- alpine-latest
username:
from_secret: docker_username
when:
event:
- tag
- name: build_and_publish-debian
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile-debian
auto_tag: true
2019-08-12 15:18:07 +00:00
auto_tag_suffix: debian
2019-08-12 15:00:48 +00:00
daemon_off: false
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/angry-squid
tags:
- debian-latest
2019-08-12 14:35:07 +00:00
username:
from_secret: docker_username
when:
event:
- tag