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
@ -21,6 +21,15 @@ jobs:
|
|||||||
tar xzf docker-25.0.3.tgz --strip-components=1 -C /usr/local/bin docker/docker
|
tar xzf docker-25.0.3.tgz --strip-components=1 -C /usr/local/bin docker/docker
|
||||||
rm docker-25.0.3.tgz
|
rm docker-25.0.3.tgz
|
||||||
docker --version
|
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
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user