mirror of
https://github.com/zoriya/flood.git
synced 2026-06-01 02:29:01 +00:00
dist/archlinux: download known_hosts from Arch Linux infra
This commit is contained in:
@@ -29,7 +29,6 @@ jobs:
|
||||
AUR_FOLDER=./flood
|
||||
AUR_REPO=ssh://aur@aur.archlinux.org/nodejs-flood.git
|
||||
AUR_USER=jesec
|
||||
"AUR_FINGERPRINT=""aur.archlinux.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLMiLrP8pVi5BFX2i3vepSUnpedeiewE5XptnUnau+ZoeUOPkpoCgZZuYfpaIQfhhJJI5qgnjJmr4hyJbe/zxow="""
|
||||
"COMMIT_USERNAME=""github-actions[bot]"""
|
||||
"COMMIT_EMAIL=""41898282+github-actions[bot]@users.noreply.github.com"""
|
||||
"COMMIT_MESSAGE=""Automatic update"""
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
FROM archlinux
|
||||
|
||||
ARG AUR_FINGERPRINT
|
||||
ARG AUR_FOLDER
|
||||
ARG AUR_REPO
|
||||
ARG AUR_KEY
|
||||
@@ -9,7 +8,7 @@ ARG COMMIT_USERNAME
|
||||
ARG COMMIT_EMAIL
|
||||
ARG COMMIT_MESSAGE
|
||||
|
||||
RUN pacman -Sy --noconfirm base-devel openssh git pacman-contrib
|
||||
RUN pacman -Sy --noconfirm base-devel curl openssh git pacman-contrib
|
||||
|
||||
RUN useradd -m ${AUR_USER}
|
||||
|
||||
@@ -18,7 +17,7 @@ USER ${AUR_USER}
|
||||
WORKDIR /home/${AUR_USER}
|
||||
|
||||
RUN mkdir .ssh
|
||||
RUN echo "${AUR_FINGERPRINT}" > .ssh/known_hosts
|
||||
RUN curl https://gitlab.archlinux.org/archlinux/infrastructure/-/raw/master/docs/ssh-known_hosts.txt?inline=false > .ssh/known_hosts
|
||||
RUN echo "${AUR_KEY}" > .ssh/id_rsa
|
||||
RUN chmod 0400 .ssh/id_rsa
|
||||
|
||||
|
||||
Reference in New Issue
Block a user