Commit a02297ab authored by nanahira's avatar nanahira

fix

parent 3d6556b2
......@@ -5,13 +5,10 @@ stages:
variables:
GIT_DEPTH: "1"
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
prepare:
stage: prepare
tags:
- docker
- linux
script:
- apt update; apt -y install git git-lfs
- git lfs clone https://huggingface.co/spaces/hhhhardman/VITS-Umamusume-voice-synthesizer src
......@@ -22,7 +19,14 @@ prepare:
paths:
- src
.docker:
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
tags:
- docker
.build-image:
extends: .docker
stage: build
dependencies:
- prepare
......@@ -33,17 +37,14 @@ prepare:
build-x86:
extends: .build-image
tags:
- docker
variables:
TARGET_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
.deploy:
extends: .docker
stage: deploy
dependencies: []
tags:
- docker
script:
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG $TARGET_IMAGE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment