Add git clone to update backend tag step
This commit is contained in:
parent
9a722b1d24
commit
363337bcf8
@ -37,6 +37,7 @@ steps:
|
||||
- apk add --no-cache git yq
|
||||
- git config --global user.name "woodpecker-bot"
|
||||
- git config --global user.email "ci@dvirlabs.com"
|
||||
- git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git"
|
||||
- cd my-apps
|
||||
- |
|
||||
TAG="${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:7}"
|
||||
|
||||
@ -10,4 +10,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
ENV MUSIC_DIR=/music
|
||||
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
Loading…
x
Reference in New Issue
Block a user