Use git directly instead of pip?
This commit is contained in:
parent
bba9908120
commit
9bd9d828ed
|
@ -40,15 +40,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check inputs
|
- name: Check inputs
|
||||||
run: |
|
run: |
|
||||||
if [[ -z "${{ DOCKER_REG_DOMAIN }}" ]]; then
|
if [[ -z "${{ inputs.DOCKER_REG_DOMAIN }}" ]]; then
|
||||||
echo "Must provide: jobs.<id>.with.DOCKER_REG_DOMAIN"
|
echo "Must provide: jobs.<id>.with.DOCKER_REG_DOMAIN"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [[ -z "${{ DOCKER_ORG }}" ]]; then
|
if [[ -z "${{ inputs.DOCKER_ORG }}" ]]; then
|
||||||
echo "Must provide: jobs.<id>.with.DOCKER_ORG"
|
echo "Must provide: jobs.<id>.with.DOCKER_ORG"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [[ -z "${{ DOCKER_LATEST }}" ]]; then
|
if [[ -z "${{ inputs.DOCKER_LATEST }}" ]]; then
|
||||||
echo "Must provide: jobs.<id>.with.DOCKER_LATEST"
|
echo "Must provide: jobs.<id>.with.DOCKER_LATEST"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -84,7 +84,9 @@ jobs:
|
||||||
- name: Download private dependencies
|
- name: Download private dependencies
|
||||||
if: ${{ hashFiles('requirements_private.txt') != '' }}
|
if: ${{ hashFiles('requirements_private.txt') != '' }}
|
||||||
run: |
|
run: |
|
||||||
pip download -r requirements_private.txt -d private_deps --no-deps
|
mkdir -p private_deps
|
||||||
|
pushd private_deps
|
||||||
|
cat requirements_private.txt | xargs -L 1 git clone
|
||||||
|
|
||||||
- name: Get Meta
|
- name: Get Meta
|
||||||
id: meta
|
id: meta
|
||||||
|
|
Loading…
Reference in New Issue
Block a user