fix repo addr
This commit is contained in:
4
.github/workflows/deploy.yaml
vendored
4
.github/workflows/deploy.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user