JTS3ServerMod-dockerized/.drone.yml

100 Zeilen
1,7 KiB
YAML

2021-08-05 10:16:50 +02:00
name: amd64
kind: pipeline
type: docker
platform:
os: linux
arch: amd64
steps:
- name: build-amd64-dev
2021-08-05 10:16:50 +02:00
image: plugins/docker
2021-08-10 18:06:23 +02:00
pull: always
2021-08-05 10:16:50 +02:00
settings:
2021-08-05 10:20:50 +02:00
repo: nickslowinski/jts3servermod-dockerized
2021-08-10 20:51:26 +02:00
tags: dev-amd64
2021-08-05 10:16:50 +02:00
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- dev
2021-08-05 10:16:50 +02:00
---
name: arm64
kind: pipeline
type: docker
platform:
os: linux
arch: arm64
steps:
- name: build-arm64-dev
2021-08-05 10:16:50 +02:00
image: plugins/docker
2021-08-10 18:06:23 +02:00
pull: always
2021-08-05 10:16:50 +02:00
settings:
2021-08-05 10:20:50 +02:00
repo: nickslowinski/jts3servermod-dockerized
2021-08-10 20:51:26 +02:00
tags: dev-arm64
2021-08-05 10:16:50 +02:00
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
2021-08-05 10:16:50 +02:00
image: plugins/docker
2021-08-10 18:06:23 +02:00
pull: always
2021-08-05 10:16:50 +02:00
settings:
2021-08-05 10:20:50 +02:00
repo: nickslowinski/jts3servermod-dockerized
2021-08-10 20:51:26 +02:00
tags: dev-arm
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
2021-08-10 17:34:06 +02:00
- dev
2021-08-10 20:51:26 +02:00
---
name: post-publish-tasks
kind: pipeline
type: docker
platform:
os: linux
arch: amd64
steps:
- name: docker-manifest
image: plugins/manifest
settings:
2021-08-05 10:16:50 +02:00
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
2021-08-10 20:51:26 +02:00
target: nickslowinski/jts3servermod-dockerized:dev
template: nickslowinski/jts3servermod-dockerized:dev-ARCH
platforms:
- linux/amd64
- linux/arm
- linux/arm64
2021-08-05 10:16:50 +02:00
when:
branch:
2021-08-10 20:51:26 +02:00
- dev
depends_on:
- build-amd64-dev
- build-arm64-dev
- build-arm-dev