From aaa5b9a7b09e16087f451918939a0978e0070e50 Mon Sep 17 00:00:00 2001 From: Nikita Andriyanov Date: Tue, 4 Feb 2025 15:25:00 +0300 Subject: [PATCH] fix repo addr --- .github/workflows/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index d48324a..e95f80f 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -24,6 +24,8 @@ jobs: deploy: runs-on: gpu env: + CR_REGISTRY: crp8vh46gd976oq8ipla + CR_REPO: ${{ github.event.repository.name }} TAG: ${{ inputs.tag }} steps: - name: Checkout @@ -55,7 +57,7 @@ jobs: - name: Migrate if: ${{ inputs.migrate == true }} run: | - docker run -it --rm backend-users-test alembic upgrade head --env-file=.env + docker run -it --rm cr.yandex/$CR_REGISTRY/$CR_REPO:$TAG alembic upgrade head --env-file=.env - name: Deploy env: DOCKER_HOST: tcp://${{ inputs.host }}:2376