* MOD: again finalize tests stage holy crap#6
Some checks failed
Test stage / check and test (push) Failing after 6s
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:
@@ -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
|
||||
|
||||
15
.gitea/workflows/test.yaml
Normal file
15
.gitea/workflows/test.yaml
Normal 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
|
||||
Reference in New Issue
Block a user