From b4728eccb8e28b179a13bc4e42c12a54b9fa76e1 Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Fri, 8 Dec 2023 00:46:35 +0100 Subject: [PATCH] Fix, again, tired... --- .gitea/workflows/container.yaml | 38 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml index cec63e0..00f6b56 100644 --- a/.gitea/workflows/container.yaml +++ b/.gitea/workflows/container.yaml @@ -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: |