feat: refactor podman build
This commit is contained in:
parent
eeb48281e4
commit
dab94048f8
@ -2,11 +2,9 @@ pipeline:
|
|||||||
frontend:
|
frontend:
|
||||||
image: node:16-alpine
|
image: node:16-alpine
|
||||||
commands:
|
commands:
|
||||||
# - ( cd client && yarn install )
|
- ( cd client && yarn install )
|
||||||
# - ( cd client/ && yarn generate )
|
- ( cd client/ && yarn generate )
|
||||||
- mkdir -p client/.output/public/
|
- mkdir -p client/.output/public/
|
||||||
when:
|
|
||||||
branch: woodpecker
|
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image: golang:1.18-alpine
|
image: golang:1.18-alpine
|
||||||
@ -15,8 +13,7 @@ pipeline:
|
|||||||
- apk add make
|
- apk add make
|
||||||
- make -C server setup
|
- make -C server setup
|
||||||
- make -C server build
|
- make -C server build
|
||||||
when:
|
- cp srver/knowyt build/files/
|
||||||
branch: woodpecker
|
|
||||||
|
|
||||||
build-publish:
|
build-publish:
|
||||||
image: mtvb/drone-kaniko
|
image: mtvb/drone-kaniko
|
||||||
@ -29,8 +26,6 @@ pipeline:
|
|||||||
repo: knowyt
|
repo: knowyt
|
||||||
registry: docker.private.gnuher.de
|
registry: docker.private.gnuher.de
|
||||||
tags: latest
|
tags: latest
|
||||||
when:
|
|
||||||
branch: woodpecker
|
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
@ -41,3 +36,7 @@ pipeline:
|
|||||||
from_secret: matrix.bw-messenger.de.username
|
from_secret: matrix.bw-messenger.de.username
|
||||||
password:
|
password:
|
||||||
from_secret: matrix.bw-messenger.de.password
|
from_secret: matrix.bw-messenger.de.password
|
||||||
|
|
||||||
|
branches:
|
||||||
|
- woodpecker
|
||||||
|
- prod
|
||||||
|
Loading…
Reference in New Issue
Block a user