6
0

Fix, again, tired...

This commit is contained in:
Jon Michael Aanes 2023-12-08 00:46:35 +01:00
parent 3d84116770
commit b4728eccb8

View File

@ -53,9 +53,28 @@ jobs:
exit 1
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
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
uses: docker/setup-qemu-action@v2
@ -69,25 +88,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
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
id: meta
run: |