update ci
Some checks failed
Builder / build (push) Failing after 7s

This commit is contained in:
Smile Rex
2026-01-07 23:14:25 +03:00
parent 8d0f626283
commit fd16f0067c
2 changed files with 18 additions and 20 deletions

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

@@ -0,0 +1,18 @@
name: Builder
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build and push image
run: |
docker build -t gitea.quizer.space/serverus/imagegenerator:latest .
echo "${{ secrets.GHCR_TOKEN }}" | docker login gitea.quizer.space -u serverus --password-stdin
docker push gitea.quizer.space/serverus/imagegenerator:latest

View File

@@ -1,20 +0,0 @@
name: Build and Push to ghcr.io
on:
push:
branches: [main]
# [ci] #
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build and push Docker image
run: |
docker build -t ghcr.io/serverussnap/imagegenerator:latest .
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u serverussnap --password-stdin
docker push ghcr.io/serverussnap/imagegenerator:latest