1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy-ui.git synced 2025-01-23 22:26:46 +00:00
lemmy-ui/.drone.yml

168 lines
3.5 KiB
YAML
Raw Normal View History

2020-12-23 16:26:52 +01:00
---
kind: pipeline
name: amd64
platform:
os: linux
arch: amd64
steps:
- name: fetch git submodules
image: node:14-alpine
commands:
- apk add git
- git submodule init
- git submodule update --recursive --remote
- git fetch --tags
2020-12-23 16:26:52 +01:00
- name: yarn
image: node:14-alpine
commands:
- yarn
- name: yarn lint
image: node:14-alpine
commands:
- yarn lint
- name: yarn build:dev
image: node:14-alpine
commands:
- yarn build:dev
- name: nightly build
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: dessalines/lemmy-ui
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- dev
when:
event:
- cron
2021-04-08 13:47:30 +02:00
- name: publish release docker image
2020-12-23 16:26:52 +01:00
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: dessalines/lemmy-ui
2021-01-13 09:39:10 -05:00
auto_tag: true
2021-01-23 10:59:57 -05:00
auto_tag_suffix: linux-amd64
2021-01-13 09:39:10 -05:00
username:
from_secret: docker_username
password:
from_secret: docker_password
2020-12-23 16:26:52 +01:00
when:
ref:
- refs/tags/*
2021-04-08 13:47:30 +02:00
- name: publish release docker manifest
2021-01-23 10:59:57 -05:00
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy-ui:${DRONE_TAG}"
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
when:
ref:
- refs/tags/*
- name: publish latest release docker manifest
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy-ui:latest"
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
when:
ref:
- refs/tags/*
2021-01-15 12:41:38 -05:00
---
kind: pipeline
name: arm64
2020-12-23 16:26:52 +01:00
2021-01-15 12:41:38 -05:00
platform:
os: linux
arch: arm64
2020-12-23 16:26:52 +01:00
2021-01-15 12:41:38 -05:00
steps:
2020-12-23 16:26:52 +01:00
2021-01-15 12:41:38 -05:00
- name: fetch git submodules
image: node:14-alpine
commands:
- apk add git
- git submodule init
- git submodule update --recursive --remote
- git fetch --tags
2021-03-03 18:02:55 +01:00
when:
ref:
2021-04-08 20:39:30 -04:00
- refs/heads/main
2021-03-03 18:02:55 +01:00
- refs/tags/*
2020-12-23 16:26:52 +01:00
2021-04-08 13:47:30 +02:00
- name: publish release docker image
2021-01-15 12:41:38 -05:00
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: dessalines/lemmy-ui
auto_tag: true
2021-01-23 10:59:57 -05:00
auto_tag_suffix: linux-arm64
2021-01-15 12:41:38 -05:00
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
ref:
- refs/tags/*
2021-01-04 11:15:12 -05:00
2021-04-08 13:47:30 +02:00
- name: publish release docker manifest
2021-01-23 10:59:57 -05:00
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy-ui:${DRONE_TAG}"
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
when:
ref:
- refs/tags/*
- name: publish latest release docker manifest
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy-ui:latest"
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
platforms:
- linux/amd64
- linux/arm64
ignore_missing: true
when:
ref:
- refs/tags/*