name: "Clone OTP" description: "Build docker image with docker" inputs: repository: # id of input description: "Repository path" required: true branch: description: "Repository Branch" required: true default: "master" ssh-private-key: description: "SSH private key for cloning" required: true runs: using: "composite" steps: - name: Building uses: https://git.binom.pw/otp/devops/proxy@main with: ssh-private-key: ${{ inputs.ssh-private-key }} - name: Cloning run: | echo 'Starting clone process ssh://git@bitbucket.isb:443/${{ inputs.repository }}.git' GIT_TERMINAL_PROMPT=0 git clone --single-branch --branch "${{ inputs.branch }}" "ssh://git@bitbucket.isb:443/${{ inputs.repository }}.git" .