From 363337bcf8a1108d1edee814aea7f1b752da3dbe Mon Sep 17 00:00:00 2001 From: dvirlabs <114520947+dvirlabs@users.noreply.github.com> Date: Thu, 10 Jul 2025 09:44:05 +0300 Subject: [PATCH] Add git clone to update backend tag step --- .woodpecker.yaml | 1 + backend/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 0a993b8..6a15baf 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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}" diff --git a/backend/Dockerfile b/backend/Dockerfile index 36894db..2cb042a 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -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"] \ No newline at end of file