Files
TestCI/.gitea/workflows/test-container-directive.yaml
T
Kaladaran ee2cbf02c1
Test Container Directive / test-container-execution (push) Successful in 1m52s
Test DinD Capabilities / test-dind (push) Successful in 1m2s
Add .gitea/workflows/test-container-directive.yaml
2026-08-12 09:56:53 +02:00

33 lines
785 B
YAML

name: Test Container Directive
on:
push:
branches: [ main, master ]
workflow_dispatch:
jobs:
test-container-execution:
runs-on: ubuntu-latest
# This instructs Gitea Actions to execute all job steps INSIDE this container
container:
image: node:20-alpine
# If your runner requires root/privileged access or specific volume mounts for DinD:
# options: --privileged
steps:
- name: Verify Environment Inside Container
run: |
echo "Current OS Release:"
cat /etc/os-release
echo "Node Version:"
node -v
- name: Checkout Code
uses: actions/checkout@v4
- name: Check Workspace Mount
run: |
echo "Workspace directory:"
pwd
ls -la