From fd16f0067c1b11445cebfbd57c866d9429000a04 Mon Sep 17 00:00:00 2001 From: Smile Rex Date: Wed, 7 Jan 2026 23:14:25 +0300 Subject: [PATCH] update ci --- .gitea/workflows/ci.yml | 18 ++++++++++++++++++ .github/workflows/ci.yml | 20 -------------------- 2 files changed, 18 insertions(+), 20 deletions(-) create mode 100644 .gitea/workflows/ci.yml delete mode 100644 .github/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..2521ba7 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 3f7e1ef..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -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 \ No newline at end of file