Setup git, why not?
This commit is contained in:
parent
78ab3750a1
commit
bba9908120
|
@ -25,6 +25,10 @@ on:
|
|||
description: Password (or auth token) to upload built container as.
|
||||
required: true
|
||||
type: string
|
||||
PIPELINE_WORKER_SSH_KEY:
|
||||
required: true
|
||||
PIPELINE_WORKER_KNOWN_HOSTS:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
release-image:
|
||||
|
@ -65,12 +69,17 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- uses: extractions/netrc@v1
|
||||
- name: Setting up SSH
|
||||
if: ${{ hashFiles('requirements_private.txt') != '' }}
|
||||
uses: https://github.com/shimataro/ssh-key-action@v2.5.1
|
||||
with:
|
||||
registry: ${{ inputs.DOCKER_REG_DOMAIN }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
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') != '' }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user