Skip to content

Commit

Permalink
Switch to bookworm (#47)
Browse files Browse the repository at this point in the history
* Update build.yml

* Update test.yml

* Update minor

* Update README.md

* Update Dockerfile
  • Loading branch information
ononoki1 authored Jun 25, 2024
1 parent 6bc4e32 commit 7a9d4d3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v4
with:
name: v7.${{ env.minor }}.${{ env.patch }}
name: v8.${{ env.minor }}.${{ env.patch }}
path: /home/runner/work/_temp/_github_home/nginx.deb
- name: Update
if: ${{ env.change }}
Expand All @@ -33,5 +33,5 @@ jobs:
with:
files: /home/runner/work/_temp/_github_home/nginx.deb
body: "SHA256: ${{ env.hash }}"
tag_name: v7.${{ env.minor }}.${{ env.patch }}
tag_name: v8.${{ env.minor }}.${{ env.patch }}
generate_release_notes: false
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v4
with:
name: v7.${{ env.minor }}.${{ env.patch }}
name: v8.${{ env.minor }}.${{ env.patch }}
path: /home/runner/work/_temp/_github_home/nginx.deb
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM debian:bullseye
FROM debian:bookworm
COPY build.sh /build.sh
ENTRYPOINT ["bash", "/build.sh"]
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

According to [Debian Wiki](https://wiki.debian.org/DebianReleases), Debian bullseye will reach its end-of-life date in July 2024. Therefore, the project will switch to Debian bookworm as the packaging environment in June 2024.

**Update:** already switched on June 25th.

## Table of Contents

- [Features](#features)
Expand Down Expand Up @@ -61,11 +63,11 @@ For example, if you want to add `http_scgi_module` back, you need to remove `--h

## Use in another distribution

Fork this repo, enable GitHub Actions, edit `Dockerfile` and `build.sh`, and change `bullseye` to the one you like. Then wait for GitHub Actions to run. After it finishes, you can download from releases.
Fork this repo, enable GitHub Actions, edit `Dockerfile` and `build.sh`, and change `bookworm` to the one you like. Then wait for GitHub Actions to run. After it finishes, you can download from releases.

For example, if you want to use in Debian buster, you need to change `bullseye` to `buster`.
For example, if you want to use in Debian bullseye, you need to change `bookworm` to `bullseye`.

Note: if you are using newer version of Debian (e.g. Debian bookworm or unstable), you can simply use releases from this repo as Debian is backward compatible.
Note: if you are using newer version of Debian (e.g. Debian trixie or unstable), you can still use releases for Debian bookworm as Debian is backward compatible.

## Recommended NGINX config

Expand Down
2 changes: 1 addition & 1 deletion minor
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
-1

0 comments on commit 7a9d4d3

Please sign in to comment.