ci(docker): fix arch linux cache issue (#1570)

This commit is contained in:
ReenigneArcher
2023-08-25 21:19:44 -04:00
committed by GitHub
parent f9a00f3ed4
commit e9f4409853

View File

@@ -11,7 +11,7 @@ FROM ${BASE}:${TAG} AS sunshine-base
RUN <<_DEPS
#!/bin/bash
set -e
pacman -Syu --disable-download-timeout --needed --noconfirm \
pacman -Syu --disable-download-timeout --needed --noconfirm \
archlinux-keyring
_DEPS
@@ -102,6 +102,9 @@ COPY --link --from=artifacts /sunshine.pkg.tar.zst /
RUN <<_INSTALL_SUNSHINE
#!/bin/bash
set -e
# update keyring to prevent cached keyring errors
pacman -Syu --disable-download-timeout --needed --noconfirm \
archlinux-keyring
pacman -U --disable-download-timeout --needed --noconfirm \
/sunshine.pkg.tar.zst
_INSTALL_SUNSHINE