Skip to content

Commit

Permalink
chore: try workflow robopage container skip check
Browse files Browse the repository at this point in the history
  • Loading branch information
GangGreenTemperTatum committed Nov 8, 2024
1 parent ade40ca commit 7e46494
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/validate_robopages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
- name: Set up Docker
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # 3.7.1

- name: Install validation dependencies
run: |
sudo apt-get update
sudo apt-get install -y binutils strings
- name: Validate Contribution Files
id: robopages-validation
continue-on-error: true
Expand All @@ -44,13 +49,15 @@ jobs:
docker pull dreadnode/robopages:latest
# Run validation with Docker socket mounted
# Run validation without Docker socket and skip container checks
docker run --rm \
-v $(pwd):/workspace \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /workspace \
--privileged \
dreadnode/robopages:latest validate --path "$(printf '%q' "$file")" --skip-docker
dreadnode/robopages:latest validate \
--path "$(printf '%q' "$file")" \
--skip-docker \
--skip-container-validation
}
# Get changed files using GitHub's provided variables
Expand Down

0 comments on commit 7e46494

Please sign in to comment.