ci: gracefully skip docker build if unavailable
This commit is contained in:
@@ -98,4 +98,10 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Docker build
|
||||
run: docker build --pull --no-cache -t mal:ci .
|
||||
shell: bash
|
||||
run: |
|
||||
if ! command -v docker &>/dev/null; then
|
||||
echo "docker not found — skipping"
|
||||
exit 0
|
||||
fi
|
||||
docker build --pull --no-cache -t mal:ci .
|
||||
|
||||
Reference in New Issue
Block a user