Try to encode GPG secret with base64 to fix import problem
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline failed Details

This commit is contained in:
Benjamin Renard 2022-04-30 11:55:05 +02:00
parent 846ecea1e7
commit ccfff0bc31
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ pipeline:
- DEBIAN_FRONTEND=noninteractive apt-get -qq -y install --no-install-recommends python3-apt apt-file dpkg-dev fakeroot build-essential devscripts debhelper python3-wheel python3-pip gnupg2 sed < /dev/null > /dev/null
- DEBIAN_FRONTEND=noninteractive apt-file update < /dev/null > /dev/null
- python3 -m pip install wheel2deb --quiet
- echo -e "$GPG_KEY"|gpg --import
- echo "$GPG_KEY"|base64 -d|gpg --import
- mkdir dist
- python3 -m pip wheel cx-Oracle -w dist --quiet
- wheel2deb --map attrs=attr -x dist -o dist