Use woodpecker for CI #8

Merged
jacob1123 merged 19 commits from woodpecker into master 2022-02-13 14:16:39 +01:00
Showing only changes of commit 4e2a783b2e - Show all commits

View File

@ -1,5 +1,8 @@
version: '3'
vars:
IMAGE_NAME: hub.javil.eu/budgeteer
tasks:
default:
cmds:
@ -75,16 +78,16 @@ tasks:
- ./build/budgeteer{{exeExt}}
- ./build/Dockerfile
cmds:
- docker build -t hub.javil.eu/budgeteer:latest ./build
- docker push hub.javil.eu/budgeteer:latest
- docker build -t {{.IMAGE_NAME}}:latest ./build
- docker push {{.IMAGE_NAME}}:latest
dev-docker:
desc: Build budgeeter:dev
sources:
- ./docker/Dockerfile
cmds:
- docker build -t hub.javil.eu/budgeteer:dev ./docker
- docker push hub.javil.eu/budgeteer:dev
- docker build -t {{.IMAGE_NAME}}:dev ./docker
- docker push {{.IMAGE_NAME}}:dev
run:
desc: Start budgeteer