WIP: CI/CD build apk #5

Draft
ange wants to merge 5 commits from apkbuild into dev
3 changed files with 25 additions and 0 deletions

15
.gitea/workflows/apk.yaml Normal file
View File

@ -0,0 +1,15 @@
on:
push:
#paths:
# - dialer/**
jobs:
build:
runs-on: debian
container: git.gmoker.com/icing/flutter:main
defaults:
run:
working-directory: dialer
steps:
- uses: actions/checkout@v1
- run: flutter build apk

5
dialer/build.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash -e
IMG=git.gmoker.com/icing/flutter:main
docker run --rm -v "$PWD:/app/" "$IMG" build apk

5
dialer/run.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash -e
IMG=git.gmoker.com/icing/flutter:main
docker run --rm -p 5037:5037 -v "$PWD:/app/" "$IMG" run