Skip to content

Commit 6ab13d5

Browse files
committed
Add :latest tag to stable releases for improved user experience
This commit adds :latest tag for stable releases to align with Docker conventions and best practices. The :edge tag remains for anything from the bleeding edge. Changes: - Workflow: Push :latest tag for stable (non-prerelease) versions - README: Update examples to use :latest instead of :edge - Fix: Correct httpd command syntax in example Tag strategy going forward: - :latest → most recent stable release (conventional) - :edge → bleeding edge builds from main (for early adopters) - :1.2.3 → specific versions (for reproducibility) Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent c712c34 commit 6ab13d5

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/build-push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,16 @@ jobs:
142142
[[ "${IMG}" == "curios-system" ]] && IMG="curios"
143143
TAG=${{ steps.vars.outputs.tag }}
144144
SFX=${{ steps.vars.outputs.sfx }}
145+
LAT=${{ steps.vars.outputs.lat }}
145146
URL=ghcr.io/${{ github.repository_owner }}/${IMG}
146147
buildah manifest create ${IMG}
147148
buildah manifest add ${IMG} oci:${IMG}-oci-amd64${SFX}
148149
buildah manifest add ${IMG} oci:${IMG}-oci-arm64${SFX}
149150
buildah manifest push --all -f oci ${IMG} docker://${URL}:${TAG}
151+
# Also push as :latest for stable releases
152+
if [[ "${LAT}" == "true" ]]; then
153+
buildah manifest push --all -f oci ${IMG} docker://${URL}:latest
154+
fi
150155
- uses: ncipollo/release-action@v1
151156
with:
152157
allowUpdates: true

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ server for embedded applications and IoT devices. Features:
104104

105105
```bash
106106
# Custom port and verbose logging
107-
docker run -p 8080:8080 ghcr.io/kernelkit/curios-httpd /usr/sbin/httpd:edge -f -v -p 8080
107+
docker run -p 8080:8080 ghcr.io/kernelkit/curios-httpd:latest /usr/sbin/httpd -f -v -p 8080
108108
```
109109

110110
For more help, see the [BusyBox docs](https://busybox.net/downloads/BusyBox.html#httpd)
@@ -123,13 +123,13 @@ monitoring, and showing off your container infrastructure. Features:
123123

124124
```bash
125125
# Simple system info display
126-
docker run --rm ghcr.io/kernelkit/curios-neofetch:edge
126+
docker run --rm ghcr.io/kernelkit/curios-neofetch:latest
127127

128128
# With host system access for accurate info
129-
docker run --rm -v /etc/os-release:/etc/os-release:ro ghcr.io/kernelkit/curios-neofetch:edge
129+
docker run --rm -v /etc/os-release:/etc/os-release:ro ghcr.io/kernelkit/curios-neofetch:latest
130130

131131
# Get a shell instead
132-
docker run --rm -i -t --entrypoint /bin/bash ghcr.io/kernelkit/curios-neofetch:edge
132+
docker run --rm -i -t --entrypoint /bin/bash ghcr.io/kernelkit/curios-neofetch:latest
133133
```
134134

135135
## Origin & References

0 commit comments

Comments
 (0)