Update README with shared tags
parent
3c9e831f0d
commit
1397f67595
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
id: commit-dockerfiles
|
id: commit-dockerfiles
|
||||||
run: |
|
run: |
|
||||||
git add */*/Dockerfile
|
git add */*/Dockerfile README.md
|
||||||
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
|
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
|
||||||
git commit -m "Bump Caddy version" -a
|
git commit -m "Bump Caddy version" -a
|
||||||
git push
|
git push
|
||||||
|
@ -74,3 +74,10 @@ jobs:
|
||||||
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
||||||
bashbrew push caddy
|
bashbrew push caddy
|
||||||
bashbrew put-shared --single-arch 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
|
||||||
|
|
|
@ -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)
|
- [Docker Hub](https://hub.docker.com/r/productionwentdown/caddy)
|
||||||
- [GitHub](https://github.com/productionwentdown/caddy)
|
- [GitHub](https://github.com/productionwentdown/caddy)
|
||||||
|
|
||||||
# Shared Tags
|
## Simple Tags
|
||||||
|
|
||||||
New versions are tracked within 4 hours. Currently available versions:
|
New versions are tracked within 4 hours. Currently available versions:
|
||||||
|
|
||||||
* `2.4.6-alpine`, `2-alpine`, `alpine`
|
* `2.4.6-alpine`, `2-alpine`, `alpine`
|
||||||
|
|
||||||
Legacy tags available that should not be used:
|
## Shared Tags
|
||||||
|
|
||||||
* `2.0.0`
|
* `2.4.6`, `2`, `latest`
|
||||||
* `1.0.0`, `1.0.1`, `1.0.2`, `1.0.3`, `1.0.4`, `1.0.5`, `1`
|
* `2.4.6-alpine`
|
||||||
* `0.10.*`, `0.11.*`
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
|
|
15
update.go
15
update.go
|
@ -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)
|
- [Docker Hub](https://hub.docker.com/r/productionwentdown/caddy)
|
||||||
- [GitHub](https://github.com/productionwentdown/caddy)
|
- [GitHub](https://github.com/productionwentdown/caddy)
|
||||||
|
|
||||||
# Shared Tags
|
## Simple Tags
|
||||||
|
|
||||||
New versions are tracked within 4 hours. Currently available versions:
|
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}}
|
{{end}}
|
||||||
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.*`" + `
|
|
||||||
|
|
||||||
|
{{range $entry := .Entries}}* {{range $index, $tag := $entry.SharedTags}}{{if $index}}, {{end}}` + "`{{$tag}}`" + `{{end}}
|
||||||
|
* ` + "`{{index $entry.Tags 0}}`" + `
|
||||||
|
{{end}}
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
See the [official image](https://hub.docker.com/_/caddy) for documentation. This image behaves the same way, except that it is slightly slimmer.
|
See the [official image](https://hub.docker.com/_/caddy) for documentation. This image behaves the same way, except that it is slightly slimmer.
|
||||||
|
|
Loading…
Reference in New Issue