Skip to content
Snippets Groups Projects
Commit 08172f21 authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix gpg verification

parent 559c3aa2
No related branches found
No related tags found
1 merge request!1MVP build process
Pipeline #547 failed
#!/usr/bin/env bash
set -e
set -x
# Log when the build occurred.
date
echo ""
......@@ -35,8 +38,6 @@ echo "DEPENDENCY: OpenSSL"
git clone -q --recursive --depth 1 https://github.com/openssl/openssl.git -b "$OPENSSL_TAG" "$OPENSSL_DIR"
cd "$OPENSSL_DIR" || exit
./config
make -j"$(nproc)"
make install
# Dependency: ngx_brotli (no tagged releases)
echo ""
......@@ -55,6 +56,7 @@ cd "$OG_DIR" || exit
curl -o "$NGINX_SRC_ARCHIVE" "$NGINX_SRC"
curl -o "$NGINX_SRC_ARCHIVE_SIGNATURE" "$NGINX_SIGNING"
gpg --import <(curl https://nginx.org/keys/nginx_signing.key)
gpg --verify "$NGINX_SRC_ARCHIVE_SIGNATURE" "$NGINX_SRC_ARCHIVE"
tar -zxvf "$NGINX_SRC_ARCHIVE" -C "$NGINX_SRC_DIR" --strip 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment