This commit is contained in:
parent
ddba94f72d
commit
596b7d37b1
31
.drone.yml
31
.drone.yml
@ -125,3 +125,34 @@ trigger:
|
||||
# event:
|
||||
# - tag
|
||||
# - push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: manifest
|
||||
|
||||
steps:
|
||||
- name: manifest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
force_tag: true
|
||||
ignore_missing: true
|
||||
spec: manifest.tmpl
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
|
||||
- ${DRONE_SEMVER_MAJOR}
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
|
||||
depends_on:
|
||||
- build-amd64
|
||||
- build-arm64
|
||||
# - build-arm
|
||||
|
31
manifest.tmpl
Normal file
31
manifest.tmpl
Normal file
@ -0,0 +1,31 @@
|
||||
image: docker.asperti.com/paspo/hassio-zabbix-agent2:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||
{{#if build.tags}}
|
||||
tags:
|
||||
{{#each build.tags}}
|
||||
- {{this}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
manifests:
|
||||
-
|
||||
image: docker.asperti.com/paspo/hassio-zabbix-agent2:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
||||
-
|
||||
image: docker.asperti.com/paspo/hassio-zabbix-agent2:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}-arm64
|
||||
platform:
|
||||
variant: v8
|
||||
architecture: arm64
|
||||
os: linux
|
||||
-
|
||||
image: docker.asperti.com/paspo/hassio-zabbix-agent2:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}-arm64
|
||||
platform:
|
||||
variant: v8
|
||||
architecture: aarch64
|
||||
os: linux
|
||||
-
|
||||
image: docker.asperti.com/paspo/hassio-zabbix-agent2:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}-arm
|
||||
platform:
|
||||
variant: v7
|
||||
architecture: arm
|
||||
os: linux
|
Loading…
Reference in New Issue
Block a user