]> granicus.if.org Git - icinga2/commitdiff
Update main-ubuntu.yml
authorMichael Friedrich <michael.friedrich@icinga.com>
Fri, 25 Oct 2019 11:21:06 +0000 (13:21 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2019 11:21:06 +0000 (13:21 +0200)
Fix package key

.github/workflows/main-ubuntu.yml

index 427a9a765561d25b75e106326ff14f858bfe0baf..0335d55647bb62326747a6c3ccc8a4efe7fd0de6 100644 (file)
@@ -12,7 +12,7 @@ jobs:
     - name: Dependencies
       run: |
         sudo apt-get -y install apt-transport-https wget gnupg
-        sudo wget -O - https://packages.icinga.com/icinga.key | apt-key add -
+        sudo wget -O - https://packages.icinga.com/icinga.key | sudo apt-key add -
         . /etc/os-release; if [ ! -z ${UBUNTU_CODENAME+x} ]; then DIST="${UBUNTU_CODENAME}"; else DIST="$(lsb_release -c| awk '{print $2}')"; fi; \
         sudo echo "deb https://packages.icinga.com/ubuntu icinga-${DIST} main" > \
         /etc/apt/sources.list.d/${DIST}-icinga.list