--- kind: pipeline type: docker name: build-amd64 platform: os: linux arch: amd64 steps: # - name: docker build and publish # image: plugins/docker # settings: # username: # from_secret: docker_username # password: # from_secret: docker_password # repo: nemunaire/nagios # auto_tag: true # auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} # dockerfile: Dockerfile # when: # branch: # - master - name: build fcgi image image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password repo: nemunaire/nagios-fcgi auto_tag: true auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} dockerfile: Dockerfile.fcgi when: branch: - master trigger: event: - custom - push - tag --- kind: pipeline type: docker name: build-arm64 platform: os: linux arch: arm64 steps: # - name: docker build and publish # image: plugins/docker # settings: # username: # from_secret: docker_username # password: # from_secret: docker_password # repo: nemunaire/nagios # auto_tag: true # auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} # dockerfile: Dockerfile # when: # branch: # - master - name: build fcgi image image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password repo: nemunaire/nagios-fcgi auto_tag: true auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} dockerfile: Dockerfile.fcgi when: branch: - master trigger: event: - custom - push - tag --- kind: pipeline type: docker name: build-arm platform: os: linux arch: arm steps: # - name: docker build and publish (nagios) # image: plugins/docker # settings: # username: # from_secret: docker_username # password: # from_secret: docker_password # repo: nemunaire/nagios # auto_tag: true # auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} # dockerfile: Dockerfile # when: # branch: # - master - name: build fcgi image image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password repo: nemunaire/nagios-fcgi auto_tag: true auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} dockerfile: Dockerfile.fcgi when: branch: - master trigger: event: - custom - push - tag --- kind: pipeline name: docker-manifest steps: # - 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 - name: publish fcgi manifest image: plugins/manifest settings: auto_tag: true ignore_missing: true spec: .drone-manifest-fcgi.yml username: from_secret: docker_username password: from_secret: docker_password trigger: event: - custom - push - tag depends_on: - build-amd64 - build-arm64 - build-arm