Skip to content

Commit

Permalink
Update validate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Oct 3, 2024
1 parent 0928132 commit 1e781dd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build-args: GAME=cstrike
load: true

- name: Get Docker Image ID
- name: Get Docker Image ID 🆔
id: get_image_id
run: echo "::set-output name=image_id::$(docker images -q | head -n 1)"

Expand All @@ -44,6 +44,17 @@ jobs:
run: |
docker run -d --name test-container ${{ steps.get_image_id.outputs.image_id }}
- name: Inspect Container Directories 🕵️‍♂️
run: |
echo "Listing contents of /opt/steam:"
docker exec test-container ls /opt/steam
echo "Listing contents of /opt/steam/hlds:"
docker exec test-container ls /opt/steam/hlds
echo "Listing contents of /opt/steam/hlds/decay:"
docker exec test-container ls /opt/steam/hlds/decay
echo "Listing contents of /opt/steam/hlds/cstrike:"
docker exec test-container ls /opt/steam/hlds/cstrike
- name: Validate Directory Mappings 📂
run: |
# Check if plugin.ini exists in the decay directory
Expand Down

0 comments on commit 1e781dd

Please sign in to comment.