mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
parent
1298e9c398
commit
1398c4d354
1 changed files with 11 additions and 2 deletions
13
.github/workflows/check_repos.yml
vendored
13
.github/workflows/check_repos.yml
vendored
|
@ -47,6 +47,7 @@ jobs:
|
||||||
apt-get install python-all -y
|
apt-get install python-all -y
|
||||||
|
|
||||||
- name: Add GPG key for the packages.freedom.press
|
- name: Add GPG key for the packages.freedom.press
|
||||||
|
if: matrix.version != 'trixie'
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y gnupg2 ca-certificates
|
apt-get update && apt-get install -y gnupg2 ca-certificates
|
||||||
dirmngr # NOTE: This is a command that's necessary only in containers
|
dirmngr # NOTE: This is a command that's necessary only in containers
|
||||||
|
@ -54,8 +55,16 @@ jobs:
|
||||||
--no-default-keyring --keyring ./fpf-apt-tools-archive-keyring.gpg \
|
--no-default-keyring --keyring ./fpf-apt-tools-archive-keyring.gpg \
|
||||||
--recv-keys "DE28 AB24 1FA4 8260 FAC9 B8BA A7C9 B385 2260 4281"
|
--recv-keys "DE28 AB24 1FA4 8260 FAC9 B8BA A7C9 B385 2260 4281"
|
||||||
mkdir -p /etc/apt/keyrings/
|
mkdir -p /etc/apt/keyrings/
|
||||||
mv fpf-apt-tools-archive-keyring.gpg /etc/apt/keyrings
|
mv fpf-apt-tools-archive-keyring.gpg /etc/apt/keyrings/.
|
||||||
|
- name: Add GPG key using sq for pacakges.freedom.press
|
||||||
|
if: matrix.version == 'trixie'
|
||||||
|
run: |
|
||||||
|
apt-get update && apt-get install -y sq
|
||||||
|
mkdir -p /etc/apt/keyrings/
|
||||||
|
sq network keyserver \
|
||||||
|
--server hkps://keys.openpgp.org \
|
||||||
|
search "DE28 AB24 1FA4 8260 FAC9 B8BA A7C9 B385 2260 4281" \
|
||||||
|
--output /etc/apt/keyrings/fpf-apt-tools-archive-keyring.gpg
|
||||||
- name: Add packages.freedom.press to our APT sources
|
- name: Add packages.freedom.press to our APT sources
|
||||||
run: |
|
run: |
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
|
|
Loading…
Reference in a new issue