Add DroneCI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2020-11-16 08:22:35 +01:00
commit e441bfc57e
3 changed files with 90 additions and 1 deletions

66
.drone.yml Normal file
View file

@ -0,0 +1,66 @@
---
kind: pipeline
type: docker
name: build-amd64
platform:
os: linux
arch: amd64
steps:
- name: publish
image: plugins/docker
settings:
repo: halobattle/game
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
username:
from_secret: docker_username
password:
from_secret: docker_password
---
kind: pipeline
type: docker
name: build-arm64
platform:
os: linux
arch: arm64
steps:
- name: publish
image: plugins/docker
settings:
repo: halobattle/game
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
username:
from_secret: docker_username
password:
from_secret: docker_password
---
kind: pipeline
name: docker-manifest
steps:
- name: publish
image: plugins/manifest
settings:
auto_tag: true
ignore_missing: true
spec: .drone-manifest.yml
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
event:
- push
- tag
depends_on:
- build-amd64
- build-arm64