mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-04 02:01:13 +00:00
Adding woodpecker. Try 1
This commit is contained in:
parent
07e7e1eb87
commit
c3a596c8d3
1 changed files with 30 additions and 53 deletions
|
@ -1,37 +1,29 @@
|
||||||
---
|
+platform: linux/amd64
|
||||||
kind: pipeline
|
pipeline:
|
||||||
name: amd64
|
fetch_git_submodules:
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: fetch git submodules
|
|
||||||
image: node:14-alpine
|
image: node:14-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add git
|
- apk add git
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update --recursive --remote
|
- git submodule update --recursive --remote
|
||||||
- git fetch --tags
|
# - git fetch --tags
|
||||||
|
|
||||||
- name: yarn
|
yarn:
|
||||||
image: node:14-alpine
|
image: node:14-alpine
|
||||||
commands:
|
commands:
|
||||||
- yarn
|
- yarn
|
||||||
|
|
||||||
- name: yarn lint
|
yarn_lint:
|
||||||
image: node:14-alpine
|
image: node:14-alpine
|
||||||
commands:
|
commands:
|
||||||
- yarn lint
|
- yarn lint
|
||||||
|
|
||||||
- name: yarn build:dev
|
yarn_build_dev:
|
||||||
image: node:14-alpine
|
image: node:14-alpine
|
||||||
commands:
|
commands:
|
||||||
- yarn build:dev
|
- yarn build:dev
|
||||||
|
|
||||||
- name: nightly build
|
nightly_build:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -46,7 +38,7 @@ steps:
|
||||||
event:
|
event:
|
||||||
- cron
|
- cron
|
||||||
|
|
||||||
- name: publish release docker image
|
publish_release_docker_image:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -58,27 +50,25 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
ref:
|
event: tag
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: publish release docker manifest
|
publish_release_docker_manifest:
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
target: "dessalines/lemmy-ui:${DRONE_TAG}"
|
target: "dessalines/lemmy-ui:${CI_COMMIT_TAG}"
|
||||||
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
|
template: "dessalines/lemmy-ui:${CI_COMMIT_TAG}-OS-ARCH"
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
when:
|
when:
|
||||||
ref:
|
event: tag
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: publish latest release docker manifest
|
publish_latest_release_docker_manifest:
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
|
@ -86,26 +76,18 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
target: "dessalines/lemmy-ui:latest"
|
target: "dessalines/lemmy-ui:latest"
|
||||||
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
|
template: "dessalines/lemmy-ui:${CI_COMMIT_TAG}-OS-ARCH"
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
when:
|
when:
|
||||||
ref:
|
event: tag
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
---
|
+platform linux/arm64
|
||||||
kind: pipeline
|
pipeline:
|
||||||
name: arm64
|
|
||||||
|
|
||||||
platform:
|
fetch_git_submodules:
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: fetch git submodules
|
|
||||||
image: node:14-alpine
|
image: node:14-alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add git
|
- apk add git
|
||||||
|
@ -113,11 +95,9 @@ steps:
|
||||||
- git submodule update --recursive --remote
|
- git submodule update --recursive --remote
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
when:
|
when:
|
||||||
ref:
|
event: tag
|
||||||
- refs/heads/main
|
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: publish release docker image
|
publish_release_docker_image:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -129,27 +109,25 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
ref:
|
event: tag
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: publish release docker manifest
|
publish_release_docker_manifest:
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
target: "dessalines/lemmy-ui:${DRONE_TAG}"
|
target: "dessalines/lemmy-ui:${CI_COMMIT_TAG}"
|
||||||
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
|
template: "dessalines/lemmy-ui:${CI_COMMIT_TAG}-OS-ARCH"
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
when:
|
when:
|
||||||
ref:
|
event: tag
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: publish latest release docker manifest
|
publish_latest_release_docker_manifest:
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
|
@ -157,11 +135,10 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
target: "dessalines/lemmy-ui:latest"
|
target: "dessalines/lemmy-ui:latest"
|
||||||
template: "dessalines/lemmy-ui:${DRONE_TAG}-OS-ARCH"
|
template: "dessalines/lemmy-ui:${CI_COMMIT_TAG}-OS-ARCH"
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
when:
|
when:
|
||||||
ref:
|
event: tag
|
||||||
- refs/tags/*
|
|
Loading…
Reference in a new issue