feat: git workflow added for testing
Some checks failed
Docker Compose Pipeline / docker-check (push) Failing after 1m24s
Some checks failed
Docker Compose Pipeline / docker-check (push) Failing after 1m24s
This commit is contained in:
parent
accd30c9d5
commit
c432475623
31
.gitea/workflows/ci-cd.yaml
Normal file
31
.gitea/workflows/ci-cd.yaml
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user