mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
ci/gha: fix downloading Release.key
Since today, the URL from download.opensuse.org started returning a HTTP 302 redirect, so -L option for curl is needed to follow it. While at it, remove apt-key as per its man page recommendation: > Note: Instead of using this command a keyring should be placed > directly in the /etc/apt/trusted.gpg.d/ directory with a descriptive > name and either "gpg" or "asc" as file extension. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ jobs:
|
||||
run: |
|
||||
# criu repo
|
||||
REPO=${PREFIX}_$(echo ${{ matrix.os }} | sed 's/.*-//')
|
||||
curl -fSsl $REPO/Release.key | sudo apt-key add -
|
||||
curl -fSsLl $REPO/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_tools_criu.gpg > /dev/null
|
||||
echo "deb $REPO/ /" | sudo tee /etc/apt/sources.list.d/criu.list
|
||||
sudo apt update
|
||||
sudo apt install libseccomp-dev criu sshfs
|
||||
|
||||
Reference in New Issue
Block a user