From ee2cbf02c10c3eae28e9d8036156907b3bbff6ee Mon Sep 17 00:00:00 2001 From: Kaladaran Date: Wed, 12 Aug 2026 09:56:53 +0200 Subject: [PATCH] Add .gitea/workflows/test-container-directive.yaml --- .../workflows/test-container-directive.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/test-container-directive.yaml diff --git a/.gitea/workflows/test-container-directive.yaml b/.gitea/workflows/test-container-directive.yaml new file mode 100644 index 0000000..9af0ff7 --- /dev/null +++ b/.gitea/workflows/test-container-directive.yaml @@ -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 \ No newline at end of file