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 a18e137792
Some checks failed
Build and Push Docker Image / build (push) Failing after 30s
fix: use shell commands for docker build/push in CI
2026-02-08 12:49:03 +08:00

22 lines
537 B
YAML

name: Build and Push Docker Image
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login gitea.chatgqt.top -u ${{ gitea.actor }} --password-stdin
- name: Build Docker Image
run: docker build -t gitea.chatgqt.top/gqt/test-ci:latest .
- name: Push Docker Image
run: docker push gitea.chatgqt.top/gqt/test-ci:latest