JTS3ServerMod-dockerized/.drone.yml

99 Zeilen
1,7 KiB
YAML

name: amd64
kind: pipeline
type: docker
platform:
os: linux
arch: amd64
steps:
- name: build-amd64-dev
image: plugins/docker
pull: always
settings:
repo: nickslowinski/jts3servermod-dockerized
tags: dev-amd64
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- dev
---
name: arm64
kind: pipeline
type: docker
platform:
os: linux
arch: arm64
steps:
- name: build-arm64-dev
image: plugins/docker
pull: always
settings:
repo: nickslowinski/jts3servermod-dockerized
tags: dev-arm64
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- dev
---
name: arm
kind: pipeline
type: docker
platform:
os: linux
arch: arm
steps:
- name: build-arm-dev
image: plugins/docker
pull: always
settings:
repo: nickslowinski/jts3servermod-dockerized
tags: dev-arm
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- dev
---
name: post-publish-tasks
kind: pipeline
type: docker
platform:
os: linux
arch: amd64
steps:
- name: docker-manifest
image: plugins/manifest
settings:
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
target: nickslowinski/jts3servermod-dockerized:dev
template: nickslowinski/jts3servermod-dockerized:dev-ARCH
platforms:
- linux/amd64
- linux/arm
- linux/arm64
when:
branch:
- dev
depends_on:
- build-amd64-dev
- build-arm64-dev
- build-arm-dev