angry-squid/.drone.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

2019-08-12 14:35:07 +00:00
kind: pipeline
2021-12-12 21:08:49 +00:00
type: docker
2019-08-12 14:35:07 +00:00
name: default
steps:
2019-08-12 15:00:48 +00:00
- name: build_and_publish-alpine
2019-08-12 14:35:07 +00:00
image: plugins/docker:linux-amd64
settings:
2021-12-12 21:08:49 +00:00
username:
from_secret: docker_username
2019-08-12 14:35:07 +00:00
password:
from_secret: docker_password
2021-12-12 21:08:49 +00:00
dockerfile: Dockerfile-alpine
2019-08-12 14:35:07 +00:00
registry: docker.asperti.com
repo: docker.asperti.com/paspo/angry-squid
tags:
- latest
2019-08-12 15:00:48 +00:00
- alpine-latest
2021-12-12 21:08:49 +00:00
- ${DRONE_TAG}
- alpine-${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
- alpine-${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
force_tag: true
2019-08-12 15:00:48 +00:00
- name: build_and_publish-debian
image: plugins/docker:linux-amd64
settings:
2021-12-12 21:08:49 +00:00
username:
from_secret: docker_username
2019-08-12 15:00:48 +00:00
password:
from_secret: docker_password
2021-12-12 21:08:49 +00:00
dockerfile: Dockerfile-debian
2019-08-12 15:00:48 +00:00
registry: docker.asperti.com
repo: docker.asperti.com/paspo/angry-squid
tags:
- debian-latest
2021-12-12 21:08:49 +00:00
- debian-${DRONE_TAG}
- debian-${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
force_tag: true
trigger:
event:
- tag