name: CI on: push: branches: - main pull_request: branches: - main jobs: smoke-test: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: github-server-url: http://gitea:3000 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.12" - name: Run smoke tests run: python3 scripts/smoke_test.py - name: Install Docker CLI run: | apt-get update apt-get install -y docker.io - name: Build Docker image run: docker build -t devops-platform:${{ github.sha }} .