docker-nagios/.drone.yml

132 lines
2.5 KiB
YAML
Raw Permalink Normal View History

2022-01-30 17:08:04 +00:00
---
kind: pipeline
type: docker
name: build-amd64
platform:
os: linux
arch: amd64
steps:
2022-02-20 09:54:31 +00:00
- name: docker build and publish
image: plugins/docker
settings:
2023-05-13 11:35:26 +00:00
registry: registry.nemunai.re
repo: registry.nemunai.re/nagios
2022-02-20 09:54:31 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
dockerfile: Dockerfile
when:
branch:
- master
2022-02-08 11:17:13 +00:00
- name: build fcgi image
2022-01-30 17:08:04 +00:00
image: plugins/docker
settings:
2023-05-13 11:35:26 +00:00
registry: registry.nemunai.re
repo: registry.nemunai.re/nagios-fcgi
2022-01-30 17:08:04 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
2022-02-08 11:17:13 +00:00
dockerfile: Dockerfile.fcgi
2022-01-30 17:08:04 +00:00
when:
branch:
- master
trigger:
event:
- custom
- push
- tag
---
kind: pipeline
type: docker
name: build-arm64
platform:
os: linux
arch: arm64
steps:
2022-02-20 09:54:31 +00:00
- name: docker build and publish
image: plugins/docker
settings:
2023-05-13 11:35:26 +00:00
registry: registry.nemunai.re
repo: registry.nemunai.re/nagios
2022-02-20 09:54:31 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
dockerfile: Dockerfile
when:
branch:
- master
2022-02-08 11:17:13 +00:00
- name: build fcgi image
2022-01-30 17:08:04 +00:00
image: plugins/docker
settings:
2023-05-13 11:35:26 +00:00
registry: registry.nemunai.re
repo: registry.nemunai.re/nagios-fcgi
2022-01-30 17:08:04 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
2022-02-08 11:17:13 +00:00
dockerfile: Dockerfile.fcgi
2022-01-30 17:08:04 +00:00
when:
branch:
- master
trigger:
event:
- custom
- push
- tag
---
kind: pipeline
name: docker-manifest
steps:
2022-02-20 09:54:31 +00:00
- name: publish manifest
image: plugins/manifest
settings:
auto_tag: true
ignore_missing: true
spec: .drone-manifest.yml
username:
from_secret: docker_username
password:
from_secret: docker_password
2022-02-08 11:17:13 +00:00
- name: publish fcgi manifest
2022-01-30 17:08:04 +00:00
image: plugins/manifest
settings:
auto_tag: true
ignore_missing: true
2022-02-08 11:17:13 +00:00
spec: .drone-manifest-fcgi.yml
2022-01-30 17:08:04 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
event:
- custom
- push
- tag
depends_on:
- build-amd64
- build-arm64