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