init: django project with CI pipeline
Some checks failed
Build and Push Docker Image / build (push) Failing after 2m47s

This commit is contained in:
2026-02-08 12:40:31 +08:00
commit a8af8d1b64
9 changed files with 103 additions and 0 deletions

28
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,28 @@
name: Build and Push Docker Image
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
registry: gitea.chatgqt.top
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: gitea.chatgqt.top/gqt/test-ci:latest