Fix, again, tired...
This commit is contained in:
parent
3d84116770
commit
b4728eccb8
|
@ -53,9 +53,28 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Setting up SSH
|
||||||
|
if: ${{ hashFiles('requirements_private.txt') != '' }}
|
||||||
|
uses: https://github.com/shimataro/ssh-key-action@v2.5.1
|
||||||
|
with:
|
||||||
|
key: ${{ secrets.PIPELINE_WORKER_SSH_KEY }}
|
||||||
|
name: id_rsa
|
||||||
|
known_hosts: ${{ secrets.PIPELINE_WORKER_KNOWN_HOSTS }}
|
||||||
|
config: |
|
||||||
|
Host gitfub
|
||||||
|
HostName ${{ inputs.DOCKER_REG_DOMAIN }}
|
||||||
|
User ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Download private dependencies
|
||||||
|
if: ${{ hashFiles('requirements_private.txt') != '' }}
|
||||||
|
run: |
|
||||||
|
mkdir -p private_deps
|
||||||
|
cd private_deps
|
||||||
|
cat ../requirements_private.txt | xargs -L 1 git clone
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
|
@ -69,25 +88,6 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Setting up SSH
|
|
||||||
if: ${{ hashFiles('requirements_private.txt') != '' }}
|
|
||||||
uses: https://github.com/shimataro/ssh-key-action@v2.5.1
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.PIPELINE_WORKER_SSH_KEY }}
|
|
||||||
name: id_rsa
|
|
||||||
known_hosts: ${{ secrets.PIPELINE_WORKER_KNOWN_HOSTS }}
|
|
||||||
config: |
|
|
||||||
Host gitfub
|
|
||||||
HostName ${{ inputs.DOCKER_REG_DOMAIN }}
|
|
||||||
User ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
|
|
||||||
- name: Download private dependencies
|
|
||||||
if: ${{ hashFiles('requirements_private.txt') != '' }}
|
|
||||||
run: |
|
|
||||||
mkdir -p private_deps
|
|
||||||
cd private_deps
|
|
||||||
cat requirements_private.txt | xargs -L 1 git clone
|
|
||||||
|
|
||||||
- name: Get Meta
|
- name: Get Meta
|
||||||
id: meta
|
id: meta
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user