From d5e23c0ce9f3e059b114c9988cd234095b36b862 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 25 Jul 2026 18:49:21 +0300 Subject: [PATCH] .gitea/workflows/ci.yml Sil --- .gitea/workflows/ci.yml | 49 ----------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml deleted file mode 100644 index b31492b..0000000 --- a/.gitea/workflows/ci.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: CI - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - lint-and-build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: pnpm/action-setup@v4 - with: - version: latest - - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: pnpm - - - run: pnpm install --frozen-lockfile - - run: pnpm lint - - run: pnpm build - - docker: - needs: lint-and-build - if: github.ref == 'refs/heads/main' && github.event_name == 'push' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Docker login - uses: docker/login-action@v3 - with: - registry: ${{ secrets.DOCKER_REGISTRY }} - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build & push - uses: docker/build-push-action@v6 - with: - context: . - push: true - tags: | - ${{ secrets.DOCKER_REGISTRY }}/kolaytercih:latest - ${{ secrets.DOCKER_REGISTRY }}/kolaytercih:${{ github.sha }}