diff --git a/.woodpecker.yml b/.woodpecker.yml index 817c0f698..38e5b024e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -14,7 +14,7 @@ variables: # - curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg # - apt-get update # - apt-get install -y postgresql-client-16 - - apt-get update && apt-get install curl ca-certificates + - apt-get update && apt-get install lsb-release - install -d /usr/share/postgresql-common/pgdg - curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc - sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'