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: