* MOD: again finalize tests stage holy crap#6
Some checks failed
Test stage / check and test (push) Failing after 6s

Signed-off-by: Uwe Hermann <uh@uleenucks.de>
This commit is contained in:
2024-01-20 14:01:08 +01:00
parent 9732fa9f98
commit 03efd0c9de
4 changed files with 24 additions and 7 deletions

View File

@@ -1,19 +1,21 @@
---
name: build_and_push
name: Build and push
on:
- push
push:
branches:
- main
jobs:
lint:
buildpush:
name: build_and_push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to docker
run: mkdir -p $HOME/.docker && cp config.json $HOME/.docker/config.json && sed -i "s/#DOCKERAUTH/{{ secrets.DOCKERAUTH }}/g" $HOME/.docker/config.json && cat $HOME/.docker/config.json && exit 1
run: mkdir -p $HOME/.docker && cp config.json $HOME/.docker/config.json
- name: Install docker
run: curl -fsSL https://get.docker.com | sh
- name: Install parallel
run: apt install parallel -y
- name: Build docker container
run: ./build-all.sh
run: ./build-all.sh && exit 0

View File

@@ -0,0 +1,15 @@
---
name: Test stage
on:
- push
jobs:
lint:
name: check and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
run: apt update && apt install -y shellcheck
- name: test
run: ./shellcheck.sh