fix CI: clone into workspace dir, not /tmp
Deploy t-youtube / Build & Deploy (push) Failing after 1s
Deploy t-youtube / Build & Deploy (push) Failing after 1s
This commit is contained in:
@@ -16,11 +16,11 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth=1 --branch main http://localhost:3300/jimmy/t-youtube.git /tmp/t-youtube-build 2>&1
|
||||
rm -rf ./*
|
||||
git clone --depth=1 --branch main http://localhost:3300/jimmy/t-youtube.git . 2>&1
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
cd /tmp/t-youtube-build
|
||||
/volume1/@appstore/ContainerManager/usr/bin/docker build -t t-youtube:latest . 2>&1
|
||||
|
||||
- name: Swap container
|
||||
|
||||
Reference in New Issue
Block a user