added automatic testing and builds
Einige Prüfungen sind fehlgeschlagen
continuous-integration/drone/push Build is failing

Dieser Commit ist enthalten in:
Nick Slowinski 2021-08-05 10:16:50 +02:00
Ursprung 1b49fcb54b
Commit e839fb52a9
Signiert von: nickslowinski
GPG-Schlüssel-ID: F7F36D4749228BAC

112
.drone.yml Normale Datei
Datei anzeigen

@ -0,0 +1,112 @@
name: amd64
kind: pipeline
type: docker
platform:
os: linux
arch: amd64
steps:
- name: testing-amd64
image: plugins/docker
settings:
dry_run: true
repo: nickslowinski/JTS3ServerMod-dockerized
tags:
- "dev"
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- dev
- name: build-amd64
image: plugins/docker
settings:
repo: nickslowinski/JTS3ServerMod-dockerized
tags:
- "latest"
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- main
---
name: arm64
kind: pipeline
type: docker
platform:
os: linux
arch: arm64
steps:
- name: testing-arm64
image: plugins/docker
settings:
dry_run: true
repo: nickslowinski/JTS3ServerMod-dockerized
tags:
- "dev"
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- dev
- name: build-arm64
image: plugins/docker
settings:
repo: nickslowinski/JTS3ServerMod-dockerized
tags:
- "latest"
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- main
---
name: arm
kind: pipeline
type: docker
platform:
os: linux
arch: arm
steps:
- name: testing-arm
image: plugins/docker
settings:
dry_run: true
repo: nickslowinski/JTS3ServerMod-dockerized
tags:
- "dev"
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- dev
- name: build-arm
image: plugins/docker
settings:
repo: nickslowinski/JTS3ServerMod-dockerized
tags:
- "latest"
username:
from_secret: ns_docker_username
password:
from_secret: ns_docker_password
when:
branch:
- main