diff --git a/.github/workflows/nginx.yaml b/.github/workflows/nginx.yaml index 6574726..bcc8e04 100644 --- a/.github/workflows/nginx.yaml +++ b/.github/workflows/nginx.yaml @@ -8,41 +8,12 @@ env: apt_deps: gettext-base build-essential wget libpcre3-dev libssl-dev libxslt-dev zlib1g-dev awscli jobs: - release-debian-amd64: - name: Release Debian amd64 - timeout-minutes: 30 - runs-on: ubuntu-latest - container: debian:11 - env: - output_name: nginx-debian-11-amd64 - steps: - - name: Install prerequisites - run: | - apt-get -qq update -y - apt-get -qq install -y ${{ env.apt_deps }} - - - name: Checkout source - uses: actions/checkout@v4 - - - name: Build nginx binary - run: ./nginx-build.sh "$(pwd)/${output_name}" - - - name: Generate artifact checksum - run: sha256sum ${{ env.output_name }} > ${{ env.output_name }}.sha256 - - - name: Upload release artifacts - uses: softprops/action-gh-release@v2 - with: - files: | - ${{ env.output_name }} - ${{ env.output_name }}.sha256 - release-debian-aarch64: name: Release Debian aarch64 timeout-minutes: 60 runs-on: ubuntu-latest env: - output_name: nginx-debian-11-aarch64 + output_name: nginx-debian-12-aarch64 steps: - name: Checkout source uses: actions/checkout@v4 @@ -51,7 +22,7 @@ jobs: uses: uraimo/run-on-arch-action@v2 with: arch: aarch64 - distro: bullseye + distro: bookworm run: | apt-get -qq update -y apt-get -qq install -y ${{ env.apt_deps }} diff --git a/nginx-build.sh b/nginx-build.sh index 426236b..d8813ec 100755 --- a/nginx-build.sh +++ b/nginx-build.sh @@ -10,19 +10,19 @@ set -euxo pipefail # Example: ./nginx-build.sh /usr/local/sbin/nginx # https://nginx.org/en/download.html -NGINX_VERSION=1.23.3 +NGINX_VERSION=1.27.0 # https://github.com/vision5/ngx_devel_kit/releases -NGX_DEVEL_KIT_VERSION=0.3.2 +NGX_DEVEL_KIT_VERSION=0.3.3 # https://github.com/openresty/set-misc-nginx-module/tags NGX_SET_MISC_MOD_VERSION=0.33 # https://github.com/openresty/headers-more-nginx-module/tags -NGX_HEADERS_MORE_MOD_VERSION=0.34 +NGX_HEADERS_MORE_MOD_VERSION=0.37 # https://hg.nginx.org/njs/tags -NGX_NJS_MOD_VERSION=0.7.10 +NGX_NJS_MOD_VERSION=0.8.4 NGINX_SRC_URL=http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz NGX_DEVEL_KIT_SRC_URL=https://github.com/vision5/ngx_devel_kit/archive/refs/tags/v${NGX_DEVEL_KIT_VERSION}.tar.gz