Skip to content

Commit

Permalink
bump everything and remove amd64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshgngwr committed Jun 30, 2024
1 parent a305ea0 commit 84f4dfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 35 deletions.
33 changes: 2 additions & 31 deletions .github/workflows/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions nginx-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84f4dfc

Please sign in to comment.