Add manual git clone step before build
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s
This commit is contained in:
parent
fca5d71b85
commit
74c5bcdfcc
@ -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 sztucznainteligencjadlafirm || true
|
||||
git clone --depth 1 --branch ${GITHUB_REF##*/} https://git.szmyt151.pl/szmyt151/sztucznainteligencjadlafirm.git
|
||||
cd sztucznainteligencjadlafirm
|
||||
ls -la
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user