From 014cc162b2696d72f893a9159780df6a74216857 Mon Sep 17 00:00:00 2001 From: nfel Date: Tue, 26 Nov 2024 12:15:24 +0330 Subject: [PATCH] v2: Signed-off-by: nfel --- .gitea/workflows/test.yaml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 86c1546..c22c011 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -8,15 +8,29 @@ permissions: packages: write jobs: - buf: + main-act: runs-on: ubuntu-latest env: DOCKER_IMG: ${{ gitea.server_url }}/${{ gitea.repository }}:${{ gitea.ref_name }} COMPOSE_PROJECT_NAME: ${{ gitea.ref_name }}-services - COMPOSE_SERVICE_NAME: ${{ github.event.repository.name }} + COMPOSE_SERVICE_NAME: ${{ gitea.event.repository.name }} + CI_TOKEN: ${{ secrets.PROD_REG_TOKEN }} + S_URL: ${${{ gitea.server_url }}##*/} steps: - - run: | - echo $DOCKER_IMG - $COMPOSE_PROJECT_NAME - $COMPOSE_SERVICE_NAME + - name: Print + run: env | sort + + # - name: Checkout Git + # uses: actions/checkout@v4 + # with: + # token: CI_TOKEN + # submodules: recursive + # - name: Login to Docker Hub + # uses: docker/login-action@v3 + # with: + # registry: git.kahrobatoken.com + # username: ${{ secrets.PROD_REG_USER }} + # password: ${{ secrets.PROD_REG_TOKEN }} recover: steps: