Automated docker builds #5

Merged
remoll merged 9 commits from feature/docker-cicd into main 2024-05-25 12:20:21 +00:00
4 changed files with 8 additions and 36 deletions
Showing only changes of commit cb33f315a0 - Show all commits

View File

@ -28,3 +28,4 @@ jobs:
with:
context: backend
tags: git.kluster.moll.re/renoll/fast_network_navigation/backend:latest
push: true

View File

@ -2,6 +2,9 @@ on:
pull_request:
branches:
- main
paths:
- frontend/**
name: Build and release APK
@ -38,7 +41,6 @@ jobs:
- run: flutter build apk --debug --split-per-abi
working-directory: ./frontend
- name: Release APK
uses: https://gitea.com/akkuman/gitea-release-action@v1
with:

View File

@ -2,13 +2,16 @@ on:
pull_request:
branches:
- main
paths:
- frontend/**
name: Build web
jobs:
build:
name: Build Web
runs-on: k8s
runs-on: ubuntu-latest
steps:
- name: Install prerequisites
@ -27,6 +30,5 @@ jobs:
- run: flutter pub get
working-directory: ./frontend
- run: flutter build web
working-directory: ./frontend

View File

@ -1,33 +0,0 @@
on:
push:
pull_request:
branches:
- main
name: Test code
jobs:
test:
name: Test code
runs-on: k8s
steps:
- name: Install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y xz-utils
- uses: actions/checkout@v4
- uses: https://github.com/subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.19.6
cache: true
- run: flutter pub get
working-directory: ./frontend
- run: flutter test
working-directory: ./frontend