Minor update
Some checks failed
Build and Push to Registry / build-and-push (push) Failing after 25s
Some checks failed
Build and Push to Registry / build-and-push (push) Failing after 25s
This commit is contained in:
parent
eb4e47a73e
commit
fd4a9d32b7
@ -12,7 +12,7 @@ RUN apk update && apk add openssh-client git
|
|||||||
|
|
||||||
ARG SSH_PRIVATE_KEY
|
ARG SSH_PRIVATE_KEY
|
||||||
RUN mkdir -p /root/.ssh && \
|
RUN mkdir -p /root/.ssh && \
|
||||||
printf "%s" "${SSH_PRIVATE_KEY}" > /root/.ssh/id_rsa && \
|
echo "${SSH_PRIVATE_KEY}" > /root/.ssh/id_rsa && \
|
||||||
chmod 600 /root/.ssh/id_rsa && \
|
chmod 600 /root/.ssh/id_rsa && \
|
||||||
eval "$(ssh-agent -s)" && \
|
eval "$(ssh-agent -s)" && \
|
||||||
ssh-add /root/.ssh/id_rsa && \
|
ssh-add /root/.ssh/id_rsa && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user