* MOD: workflow tests
Some checks failed
Build and push / build_and_push (push) Failing after 2s

Signed-off-by: Uwe Hermann <uh@uleenucks.de>
This commit is contained in:
2024-01-21 13:34:12 +01:00
parent a09a1e4054
commit 1bff9d81f1
2 changed files with 11 additions and 12 deletions

View File

@@ -6,18 +6,18 @@ on:
- main
jobs:
test_shellcheck:
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
# test_shellcheck:
# 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
buildpush:
name: build_and_push
needs: [tests_shellcheck]
# needs: [tests_shellcheck]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -31,4 +31,4 @@ jobs:
# run: ./build-all.sh && exit 0
- name: Use kaniko image
image: gcr.io/kaniko-project/executor:debug
run: mkdir -p /kaniko/.docker && cp config.json /kaniko/.docker/config.json && cp plugin.sh /kaniko/plugin.sh && /kaniko/plugin.sh
run: ls /kaniko && exit 1 mkdir -p /kaniko/.docker && cp config.json /kaniko/.docker/config.json && cp plugin.sh /kaniko/plugin.sh && /kaniko/plugin.sh

View File

@@ -56,7 +56,6 @@ main(){
unset IFS
# build all dockerfiles
echo "Running in parallel with ${JOBS} jobs."
"$SCRIPT" dofile "{1}" ::: "${files[@]}"
if [[ ! -f $ERRORS ]]; then