1
0
Fork 0

Update README with shared tags

master
Ambrose Chua 2021-11-16 15:07:56 +08:00
parent 3c9e831f0d
commit 1397f67595
3 changed files with 19 additions and 14 deletions

View File

@ -38,7 +38,7 @@ jobs:
- name: Commit and push changes
id: commit-dockerfiles
run: |
git add */*/Dockerfile
git add */*/Dockerfile README.md
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
git commit -m "Bump Caddy version" -a
git push
@ -74,3 +74,10 @@ jobs:
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
bashbrew push caddy
bashbrew put-shared --single-arch caddy
- name: Update Docker Hub Description
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: productionwentdown/caddy

View File

@ -6,17 +6,16 @@ A tiny <10MB Caddy image compressed with [UPX](https://github.com/upx/upx).
- [Docker Hub](https://hub.docker.com/r/productionwentdown/caddy)
- [GitHub](https://github.com/productionwentdown/caddy)
# Shared Tags
## Simple Tags
New versions are tracked within 4 hours. Currently available versions:
* `2.4.6-alpine`, `2-alpine`, `alpine`
Legacy tags available that should not be used:
## Shared Tags
* `2.0.0`
* `1.0.0`, `1.0.1`, `1.0.2`, `1.0.3`, `1.0.4`, `1.0.5`, `1`
* `0.10.*`, `0.11.*`
* `2.4.6`, `2`, `latest`
* `2.4.6-alpine`
# Usage

View File

@ -24,18 +24,17 @@ A tiny <10MB Caddy image compressed with [UPX](https://github.com/upx/upx).
- [Docker Hub](https://hub.docker.com/r/productionwentdown/caddy)
- [GitHub](https://github.com/productionwentdown/caddy)
# Shared Tags
## Simple Tags
New versions are tracked within 4 hours. Currently available versions:
{{range $entry := .Entries}}
* {{range $index, $tag := $entry.Tags}}{{if $index}}, {{end}}` + "`{{$tag}}`" + `{{end}}
{{range $entry := .Entries}}* {{range $index, $tag := $entry.Tags}}{{if $index}}, {{end}}` + "`{{$tag}}`" + `{{end}}
{{end}}
Legacy tags available that should not be used:
* ` + "`2.0.0`" + `
* ` + "`1.0.0`, `1.0.1`, `1.0.2`, `1.0.3`, `1.0.4`, `1.0.5`, `1`" + `
* ` + "`0.10.*`, `0.11.*`" + `
## Shared Tags
{{range $entry := .Entries}}* {{range $index, $tag := $entry.SharedTags}}{{if $index}}, {{end}}` + "`{{$tag}}`" + `{{end}}
* ` + "`{{index $entry.Tags 0}}`" + `
{{end}}
# Usage
See the [official image](https://hub.docker.com/_/caddy) for documentation. This image behaves the same way, except that it is slightly slimmer.