From 7f1f6ccea8d7ea2ed0127610ace15adf157474f2 Mon Sep 17 00:00:00 2001 From: Ade9 Date: Tue, 22 Apr 2025 18:24:57 +0300 Subject: [PATCH] simplify ci --- .gitea/workflows/gitea-ci.yml | 36 +++++++---------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/.gitea/workflows/gitea-ci.yml b/.gitea/workflows/gitea-ci.yml index abc0194..3860e4a 100644 --- a/.gitea/workflows/gitea-ci.yml +++ b/.gitea/workflows/gitea-ci.yml @@ -8,34 +8,12 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - context: git - - - name: Login to Gitea - uses: docker/login-action@v3 - with: + name: Build docker file and publish + image: plugins/docker + settings: registry: lab.5b5.eu + repo: ade9/llm-proxy-metrics + tags: latest + secret: id=mysecret,src=secret-file username: ${{ vars.PACKAGE_USERNAME }} - password: ${{ secrets.PACKAGE_TOKEN }} - images: | - ade9/llm-proxy-metrics - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build and push - uses: docker/build-push-action@v6 - with: - context: . - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + password: ${{ secrets.PACKAGE_TOKEN }} \ No newline at end of file