This repository has been archived on 2026-03-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
test-ci/.gitea/workflows/ci.yml
gqt a8af8d1b64
Some checks failed
Build and Push Docker Image / build (push) Failing after 2m47s
init: django project with CI pipeline
2026-02-08 12:40:31 +08:00

29 lines
636 B
YAML

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