From 5ab4f694a78bafa2b416ae4ce2285cde5d0ca19f Mon Sep 17 00:00:00 2001 From: mt77 Date: Fri, 11 Apr 2025 21:41:59 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/test.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/test.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 4f1dd89..3fad45b 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -4,9 +4,6 @@ on: branches: - master -env: - GIT_INSTANCE: "git01prod.lan" - jobs: build: runs-on: docker @@ -24,7 +21,7 @@ jobs: - name: Login to Gitea Container Registry uses: docker/login-action@v3 with: - registry: ${{ env.GIT_INSTANCE }} # Замените на адрес вашего Gitea + registry: ${{ vars.GIT_INSTANCE }} # Замените на адрес вашего Gitea username: ${{ secrets.GIT_USERNAME }} password: ${{ secrets.GIT_TOKEN }} @@ -35,5 +32,5 @@ jobs: context: . push: true tags: | - ${{ env.GIT_INSTANCE }}/${{ secrets.GIT_USERNAME }}/monitor:latest - ${{ env.GIT_INSTANCE }}/${{ secrets.GIT_USERNAME }}/monitor:${{ github.sha }} + ${{ vars.GIT_INSTANCE }}/${{ secrets.GIT_USERNAME }}/monitor:latest + ${{ vars.GIT_INSTANCE }}/${{ secrets.GIT_USERNAME }}/monitor:${{ github.sha }}