From a26bcdb42ee1e1e01a87124825523b93e11213c6 Mon Sep 17 00:00:00 2001 From: Talat-DevOps Date: Tue, 13 Oct 2026 02:09:47 -0400 Subject: [PATCH] fix: updated workflow --- .gitea/workflows/ci-cd.yaml | 31 ------------------------------- .gitea/workflows/ci-cd.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 31 deletions(-) delete mode 100644 .gitea/workflows/ci-cd.yaml create mode 100644 .gitea/workflows/ci-cd.yml diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml deleted file mode 100644 index 14d35c9..0000000 --- a/.gitea/workflows/ci-cd.yaml +++ /dev/null @@ -1,31 +0,0 @@ -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 diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml new file mode 100644 index 0000000..e36730a --- /dev/null +++ b/.gitea/workflows/ci-cd.yml @@ -0,0 +1,20 @@ +name: Docker Compose Pipeline + +on: + push: + branches: [ main ] + +jobs: + docker-check: + runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest + options: --privileged -v /tmp:/tmp + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Verify Docker Status + run: | + whoami + docker ps