debian drone support
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2019-08-12 17:00:48 +02:00
parent 7ae09bdef7
commit 698f197c0c
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -2,7 +2,7 @@ kind: pipeline
name: default name: default
steps: steps:
- name: build - name: build-alpine
image: plugins/docker:linux-amd64 image: plugins/docker:linux-amd64
pull: always pull: always
settings: settings:
@ -12,12 +12,28 @@ steps:
repo: docker.asperti.com/paspo/angry-squid repo: docker.asperti.com/paspo/angry-squid
tags: tags:
- latest - latest
- alpine-latest
when: when:
event: event:
exclude: exclude:
- tag - tag
- name: build_and_publish - 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
image: plugins/docker:linux-amd64 image: plugins/docker:linux-amd64
pull: always pull: always
settings: settings:
@ -30,6 +46,26 @@ steps:
repo: docker.asperti.com/paspo/angry-squid repo: docker.asperti.com/paspo/angry-squid
tags: tags:
- latest - latest
- 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
daemon_off: false
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/angry-squid
tags:
- debian-latest
username: username:
from_secret: docker_username from_secret: docker_username
when: when: