Skip to content

Use shared workflow

Use shared workflow #1

Workflow file for this run

name: Docker CI
on:
push:
release:
workflow_dispatch:
jobs:
prereqs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check for required files
run: |
errors=0
required_files=(bin/setup bin/test docker-compose.yml docker-compose.ci.yml)
for file in "${required_files[@]}"; do
if [ -f "$file" ]; then
echo "$file found"
else
echo "$file not found"
errors=$((errors + 1))
fi
done
exit $errors
build:
needs: prereqs
uses: BerkeleyLibrary/.github/workflows/docker-build.yml@main

Check failure on line 34 in .github/workflows/docker-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-ci.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be prefixed with format 'owner/repository/' or './' for local workflows
test:
needs: build
uses: BerkeleyLibrary/.github/workflows/docker-test.yml@main