hassio-zabbix-agent2/.drone.yml

42 lines
822 B
YAML
Raw Normal View History

2021-09-14 13:54:13 +00:00
kind: pipeline
type: docker
name: default
platform:
arch: amd64
os: linux
2021-09-14 13:54:13 +00:00
steps:
- name: build
image: plugins/docker:linux-amd64
settings:
dockerfile: Dockerfile.amd64
dry_run: true
repo: docker.asperti.com/paspo/hassio-zabbix-agent2
when:
event:
- push
2021-09-14 13:54:13 +00:00
- name: build_and_publish
image: plugins/docker:linux-amd64
settings:
dockerfile: Dockerfile.amd64
2021-09-14 13:54:13 +00:00
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/hassio-zabbix-agent2
tags:
- latest-amd64
- ${DRONE_TAG}-amd64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-amd64
2021-09-14 13:54:13 +00:00
username:
from_secret: docker_username
when:
event:
- tag
2021-09-14 13:54:13 +00:00
trigger:
event:
- tag
- push