Add .gitea/workflows/test-container-directive.yaml
Test Container Directive / test-container-execution (push) Successful in 1m52s
Test DinD Capabilities / test-dind (push) Successful in 1m2s

This commit is contained in:
2026-08-12 09:56:53 +02:00
parent 17514f5855
commit ee2cbf02c1
@@ -0,0 +1,33 @@
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