Add manual git clone step before build
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s

This commit is contained in:
Adrian Miesikowski 2026-02-10 14:08:00 +01:00
parent ab007ac8e6
commit a4aceea518

View File

@ -22,6 +22,15 @@ jobs:
rm docker-25.0.3.tgz
docker --version
- name: Clone repository
run: |
apk add --no-cache git || apt-get update && apt-get install -y git
cd /workspace/szmyt151
rm -rf aiagentdlafirm || true
git clone --depth 1 --branch ${GITHUB_REF##*/} https://git.szmyt151.pl/szmyt151/aiagentdlafirm.git
cd aiagentdlafirm
ls -la
- name: Build Docker image
run: |
cd $GITHUB_WORKSPACE