with newer dind

This commit is contained in:
Kasper Juul Hermansen 2022-08-21 16:59:40 +02:00
parent 581404c622
commit 4e5f451bf6
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
4 changed files with 10 additions and 2 deletions

View File

@ -13,7 +13,7 @@ steps:
from_secret: gitea_id_ed25519 from_secret: gitea_id_ed25519
commands: commands:
- mkdir -p $HOME/.ssh/ - mkdir -p $HOME/.ssh/
- echo "$SSH_KEY" > $HOME/.ssh/id_ed25519 - echo "$SSH_KEY" | base64 -d > $HOME/.ssh/id_ed25519
- ls $HOME/.ssh/ - ls $HOME/.ssh/
- cat $HOME/.ssh/id_ed25519 - cat $HOME/.ssh/id_ed25519

7
id_drone Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACD0+5T51If4h1fdVsDLVrrZTmEDUCIzndgTRrOlPTbacQAAAKCxUxdxsVMX
cQAAAAtzc2gtZWQyNTUxOQAAACD0+5T51If4h1fdVsDLVrrZTmEDUCIzndgTRrOlPTbacQ
AAAECalj+vPAeu98ipaFtNwliCCgiz7UHN2sQfFmJFU2vN1/T7lPnUh/iHV91WwMtWutlO
YQNQIjOd2BNGs6U9NtpxAAAAFmNpQGthc3Blcmhlcm1hbnNlbi5jb20BAgMEBQYH
-----END OPENSSH PRIVATE KEY-----

1
id_drone.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPT7lPnUh/iHV91WwMtWutlOYQNQIjOd2BNGs6U9Ntpx ci@kasperhermansen.com

View File

@ -18,7 +18,7 @@ COPY . .
RUN cargo install --target x86_64-unknown-linux-musl --path cuddle_cli RUN cargo install --target x86_64-unknown-linux-musl --path cuddle_cli
FROM docker:stable-dind FROM docker:dind
COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/ COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/
ENV PATH="${PATH}:/usr/local/cargo/bin" ENV PATH="${PATH}:/usr/local/cargo/bin"