papermc-docker/.drone.yml
Aode (Lion) d87c7f8dee
All checks were successful
continuous-integration/drone/tag Build is passing
Remove armv7
2022-01-27 21:46:01 -06:00

82 lines
1.1 KiB
YAML

kind: pipeline
type: docker
name: publish-amd64
platform:
arch: amd64
steps:
- name: push
image: plugins/docker:20
settings:
username: asonix
password:
from_secret: dockerhub_token
repo: asonix/papermc
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: linux-amd64
build_args:
- REPO_ARCH=amd64
trigger:
event:
- tag
---
kind: pipeline
type: docker
name: publish-arm64v8
platform:
arch: amd64
steps:
- name: push
image: plugins/docker:20
settings:
username: asonix
password:
from_secret: dockerhub_token
repo: asonix/papermc
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: linux-arm64v8
build_args:
- REPO_ARCH=arm64v8
trigger:
event:
- tag
---
kind: pipeline
type: docker
name: manifest
platform:
arch: amd64
steps:
- name: manifest
image: plugins/manifest:1
settings:
username: asonix
password:
from_secret: dockerhub_token
dump: true
auto_tag: true
ignore_missing: true
spec: manifest.tmpl
depends_on:
- publish-amd64
- publish-arm64v8
trigger:
event:
- tag