Skip to content

Commit

Permalink
Add mongodb gpg key and repository
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Jun 29, 2024
1 parent d9c1485 commit 18b95b0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
- name: Import GPG key
run: ls

- name: Add MongoDB 6.0 GPG key and repository
run: |
if [ ! -f /usr/share/keyrings/mongodb-server-6.0.gpg ]; then
curl -fsSL https://pgp.mongodb.com/server-6.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor
fi
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y redis-tools mongodb-org ffmpeg wondershaper

Expand Down

0 comments on commit 18b95b0

Please sign in to comment.