fix repo addr

This commit is contained in:
2025-02-04 15:25:00 +03:00
parent 5c91e6fd04
commit aaa5b9a7b0

View File

@@ -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