mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-05-10 22:01:16 +00:00
fix: replace drone-ssh with alpine SSH and fix YAML indentation
This commit is contained in:
33
.drone.yml
33
.drone.yml
@@ -8,11 +8,42 @@
|
|||||||
event: [push]
|
event: [push]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build-app
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: git.samagsteribbe.nl/admin/dragonsstash
|
repo: git.samagsteribbe.nl/admin/dragonsstash
|
||||||
registry: git.samagsteribbe.nl
|
registry: git.samagsteribbe.nl
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- "${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
build_args:
|
||||||
|
- NEXT_PUBLIC_APP_URL=https://dragonsstash.samagsteribbe.nl
|
||||||
|
username:
|
||||||
|
from_secret: gitea_username
|
||||||
|
password:
|
||||||
|
from_secret: gitea_password
|
||||||
|
|
||||||
|
- name: build-worker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: git.samagsteribbe.nl/admin/dragonsstash-worker
|
||||||
|
registry: git.samagsteribbe.nl
|
||||||
|
dockerfile: worker/Dockerfile
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- "${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
username:
|
||||||
|
from_secret: gitea_username
|
||||||
|
password:
|
||||||
|
from_secret: gitea_password
|
||||||
|
|
||||||
|
- name: build-bot
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: git.samagsteribbe.nl/admin/dragonsstash-bot
|
||||||
|
registry: git.samagsteribbe.nl
|
||||||
|
dockerfile: bot/Dockerfile
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- "${DRONE_COMMIT_SHA:0:8}"
|
- "${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
|||||||
Reference in New Issue
Block a user