From c43247562326a347462341c91515b615e1ea512b Mon Sep 17 00:00:00 2001 From: Talat-DevOps Date: Tue, 13 Oct 2026 01:16:32 -0400 Subject: [PATCH] feat: git workflow added for testing --- .gitea/workflows/ci-cd.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/ci-cd.yaml diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml new file mode 100644 index 0000000..14d35c9 --- /dev/null +++ b/.gitea/workflows/ci-cd.yaml @@ -0,0 +1,31 @@ +name: Docker Compose Pipeline + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + docker-check: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Verify Current User and System + run: | + echo "Running job as user: kali" + whoami || true + + - name: Test Docker Container Access + run: | + echo "=== Testing Docker PS ===" + docker ps + + - name: Validate Docker Compose Configuration + run: | + echo "=== Validating docker-compose.yml ===" + docker compose config