fix CI: clone to /volume1 so host Docker daemon can see build context
Deploy t-youtube / Build & Deploy (push) Failing after 18s
Deploy t-youtube / Build & Deploy (push) Failing after 18s
This commit is contained in:
@@ -16,11 +16,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 http://gitea:3000/jimmy/t-youtube.git /tmp/repo 2>&1
|
git clone --depth=1 http://gitea:3000/jimmy/t-youtube.git /volume1/docker/t-youtube-build 2>&1
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build -t t-youtube:latest /tmp/repo 2>&1
|
docker build -t t-youtube:latest /volume1/docker/t-youtube-build 2>&1
|
||||||
|
|
||||||
- name: Deploy to NAS
|
- name: Deploy to NAS
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user