Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
8375060
fix(release): name the local tags that differ from origin
peaklabs-dev Nov 2, 2026
38bbcf7
ci: upload the list of the manifests to delete in every run
peaklabs-dev Nov 2, 2026
387ba14
feat(scripts): sync the manifest cleanup with Coolify
peaklabs-dev Nov 9, 2026
7119216
ci: disable the manifest cleanup after a failed run
peaklabs-dev Nov 9, 2026
86ac273
docs(release): merge next into main only on the day of the release
peaklabs-dev Nov 9, 2026
a978c6f
feat(release): write the changelog from change files
peaklabs-dev Nov 9, 2026
3fdb677
fix(release): make an unsigned release commit when git cannot sign
peaklabs-dev Nov 9, 2026
2d3468d
refactor(release): name the upstream version upstream
peaklabs-dev Nov 9, 2026
363b91e
docs(release): simplify the push warning and PR versions
peaklabs-dev Nov 9, 2026
2b184bd
ci: bump GitHub Actions to the latest releases
peaklabs-dev Nov 9, 2026
901a7ec
chore(lint): bump jactionlint from v2.4.0 to v2.5.0
peaklabs-dev Nov 9, 2026
a447a3c
feat(image): move the home of nonroot to /home/nonroot
peaklabs-dev Nov 9, 2026
93c975f
fix(image): list a directory once in the SBOM document
peaklabs-dev Nov 9, 2026
59c264c
refactor(image): read the root of the SBOM document from ROOT_DIR
peaklabs-dev Nov 9, 2026
904b621
fix(image): make the SBOM document valid against its schema
peaklabs-dev Nov 9, 2026
55684ba
test: wait for locks the healthcheck holds briefly
peaklabs-dev Nov 9, 2026
5363312
chore: write the brand as PeakImages
peaklabs-dev Nov 11, 2026
9586317
fix(image): let scanners find the right packages and the OS
peaklabs-dev Nov 10, 2026
c034bf4
docs: add a trademark notice to README.md
peaklabs-dev Nov 10, 2026
1af0a8b
refactor(release): name upstream lines with a leading v
peaklabs-dev Nov 10, 2026
112250b
fix(release): add the refactored type to change files
peaklabs-dev Nov 11, 2026
b348d39
build(image): bump Alpine from v3.24.3 to v3.24.4
peaklabs-dev Nov 11, 2026
601e228
fix(image): check the health of databases without a lock
peaklabs-dev Nov 11, 2026
4f45cef
docs: describe the home of nonroot as a security change
peaklabs-dev Nov 11, 2026
41139dd
test: check what the image does, not how it is built
peaklabs-dev Nov 12, 2026
7e28ce5
feat(image): streamline image labels
peaklabs-dev Nov 12, 2026
9960454
style(image): remove comments that repeat the build steps
peaklabs-dev Nov 12, 2026
d5a34bd
docs: reword the changelog to read with its headings
peaklabs-dev Nov 12, 2026
a7d5644
ci(release): name a SQLite bump so it reads with its heading
peaklabs-dev Nov 12, 2026
fb8b6a0
test: wait for locks again, also in the lock check
peaklabs-dev Nov 12, 2026
2152c51
docs: name the flavor and the variant in README.md
peaklabs-dev Nov 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changes/alpine-in-the-build-stage-from.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
type: changed
---
Alpine in the build stage from 3.24.3 to 3.24.4
7 changes: 7 additions & 0 deletions .changes/health-check-failing-with-database-is.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: fixed
---
Health check failing with `database is locked` while an application writes, and making the writes of an application without a busy timeout fail

- The health check reads every database with `immutable=1`, which takes no lock
- When that read fails, it opens the database as before, with a busy timeout of 3 seconds
7 changes: 7 additions & 0 deletions .changes/home-of-nonroot-from-var-lib.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: security
---
Moved the home of `nonroot` from `/var/lib/sqlite` to `/home/nonroot`, `sqlite3` runs the `.sqliterc` of the home on every start, and every user can write `/var/lib/sqlite`

- `sqlite3` reads its startup file from `/home/nonroot/.sqliterc`, which only `nonroot` can write
- The working directory stays `/var/lib/sqlite`
9 changes: 9 additions & 0 deletions .changes/image-labels-to-one-set-that.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
type: changed
---
Image labels to one set that every image uses

- `dev.peakimages.image` gains `distro`, `variant`, `flavor`, `shell` and `package-manager`
- `dev.peakimages.image.upstream.version` replaces `dev.peakimages.sqlite.version`
- `dev.peakimages.sqlite.extensions`, `dev.peakimages.tini.version` and `dev.peakimages.busybox.version` are removed, `README.md` lists the extensions and the SBOM the packages
- `org.opencontainers.image.licenses` names the license of the image and of SQLite, and `base.name` is empty with an empty `base.digest` for an image built from `scratch`
10 changes: 10 additions & 0 deletions .changes/package-metadata-instead-of-the-sbom-document.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
type: fixed
---
Scanners listing the wrong packages and the wrong OS, `syft` found only `busybox 1.37.0`, `grype` reported two BusyBox CVEs Alpine has fixed and none of SQLite, and Trivy found nothing

- `sqlite3` carries a package note and the image the apk package database records of tini and BusyBox, `syft` and `grype` list all three, Trivy all but SQLite
- A scanner reports the image as Alpine, the release tini and BusyBox are taken from, instead of BusyBox or no OS, the same way Docker Hardened Images does
- The SBOM attestation lists the same three packages as before, it was already correct, but a scanner does not read it and makes its own list from the image
- The syft document in `/var/lib/db/sbom` that BuildKit made the SBOM attestation from is gone, BuildKit runs syft, which reads the package note and the apk package database natively
- `syft` no longer needs the `--select-catalogers +sbom-cataloger` flag to read the custom SBOM in the syft JSON file, as its default list is now correct too
4 changes: 4 additions & 0 deletions .changes/vendor-and-authors-labels-from-peakimages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
type: changed
---
Vendor and authors labels from `peakimages` to `PeakImages`, the name as it is written everywhere but in a URL or an image name
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*.md diff=markdown
CHANGELOG.md merge=union

/.changes export-ignore
/.github export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ workflows:
'.github/workflows/pull-request.yaml':
- 'actions/checkout@v7.0.1'
- 'actions/download-artifact@v8.0.2'
- 'docker/login-action@v4.7.0'
- 'docker/login-action@v4.8.0'
'.github/workflows/release.yaml':
- 'actions/checkout@v7.0.1'
- 'actions/download-artifact@v8.0.2'
- 'docker/login-action@v4.7.0'
- 'docker/login-action@v4.8.0'
'.github/workflows/tests.yaml':
- 'actions/checkout@v7.0.1'
- 'actions/download-artifact@v8.0.2'
Expand All @@ -49,9 +49,9 @@ dependencies:
commit: 'sha1-c3c9e263c25d99ce0380d002d59b67737d91b0dc'
owner_id: 5429470
repo_id: 241092383
'docker/login-action@v4.7.0':
ref: 'v4.7.0'
commit: 'sha1-81c6f93d4bc991e510b342a00b419b3bb4efc5c6'
'docker/login-action@v4.8.0':
ref: 'v4.8.0'
commit: 'sha1-8aa5831fb8d48d8f76594c7ddde61ae58019f550'
owner_id: 5429470
repo_id: 287743349
'docker/setup-buildx-action@v4.4.1':
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/clean-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
if: ${{ github.repository == 'peakimages/sqlite' }}
permissions:
contents: read
actions: write # disable this workflow after a failed run
environment:
name: cleanup
deployment: false
Expand All @@ -41,11 +42,19 @@ jobs:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_CLEANUP_TOKEN }}
run: scripts/clean-manifests.sh --delete 200

- name: Upload the list of deleted manifests
- name: Upload the lists of manifests
if: ${{ always() }}
uses: actions/upload-artifact@v7.0.2
with:
name: deleted-manifests
path: scripts/deleted-manifests.tsv
name: manifests
path: |
scripts/manifests-to-delete.tsv
scripts/deleted-manifests.tsv
if-no-files-found: ignore
retention-days: 90

- name: Disable this workflow after a failure
if: ${{ failure() }}
env:
GH_TOKEN: ${{ github.token }}
run: gh workflow disable clean-manifests.yaml --repo "$GITHUB_REPOSITORY"
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
path: ${{ runner.temp }}/images

- name: Log in to ghcr.io
uses: docker/login-action@v4.7.0
uses: docker/login-action@v4.8.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ jobs:
path: ${{ runner.temp }}/images

- name: Log in to ghcr.io
uses: docker/login-action@v4.7.0
uses: docker/login-action@v4.8.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to docker.io
uses: docker/login-action@v4.7.0
uses: docker/login-action@v4.8.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:

## Changed

- Bump SQLite version from v$PREVIOUS to v$SQLITE_VERSION
- SQLite from v$PREVIOUS to v$SQLITE_VERSION
NOTES
fi
gh release create "$TAG" "${args[@]}"
Expand Down Expand Up @@ -164,14 +164,14 @@ jobs:
echo "tags=$tags" | tee -a "$GITHUB_OUTPUT"

- name: Log in to ghcr.io
uses: docker/login-action@v4.7.0
uses: docker/login-action@v4.8.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to docker.io
uses: docker/login-action@v4.7.0
uses: docker/login-action@v4.8.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
- name: Verify the action lockfile
env:
GH_TOKEN: ${{ github.token }}
# https://github.com/github/gh-actions-lock/releases/tag/v0.4.0
# https://github.com/github/gh-actions-lock/releases/tag/v0.4.1
run: |
gh extension install github/gh-actions-lock --pin v0.4.0
gh extension install github/gh-actions-lock --pin v0.4.1
gh actions-lock --verify

test:
Expand Down
Loading