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:
|
deploy:
|
||||||
runs-on: gpu
|
runs-on: gpu
|
||||||
env:
|
env:
|
||||||
|
CR_REGISTRY: crp8vh46gd976oq8ipla
|
||||||
|
CR_REPO: ${{ github.event.repository.name }}
|
||||||
TAG: ${{ inputs.tag }}
|
TAG: ${{ inputs.tag }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -55,7 +57,7 @@ jobs:
|
|||||||
- name: Migrate
|
- name: Migrate
|
||||||
if: ${{ inputs.migrate == true }}
|
if: ${{ inputs.migrate == true }}
|
||||||
run: |
|
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
|
- name: Deploy
|
||||||
env:
|
env:
|
||||||
DOCKER_HOST: tcp://${{ inputs.host }}:2376
|
DOCKER_HOST: tcp://${{ inputs.host }}:2376
|
||||||
|
|||||||
Reference in New Issue
Block a user