Add git clone to update backend tag step

This commit is contained in:
dvirlabs 2025-07-10 09:44:05 +03:00
parent 9a722b1d24
commit 363337bcf8
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ steps:
- apk add --no-cache git yq - apk add --no-cache git yq
- git config --global user.name "woodpecker-bot" - git config --global user.name "woodpecker-bot"
- git config --global user.email "ci@dvirlabs.com" - 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 - cd my-apps
- | - |
TAG="${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:7}" TAG="${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:7}"

View File

@ -10,4 +10,4 @@ RUN pip install --no-cache-dir -r requirements.txt
ENV MUSIC_DIR=/music 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"]