Skip to content

Commit 2c3350a

Browse files
committed
Use suffix
1 parent 0c9463c commit 2c3350a

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/docker-release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ jobs:
3030
type=schedule
3131
type=ref,event=branch
3232
type=ref,event=pr
33-
type=semver,pattern={{version}}-debian
34-
type=semver,pattern={{major}}.{{minor}}-debian
35-
type=semver,pattern={{major}}-debian
33+
type=semver,pattern={{version}},suffix=-debian
34+
type=semver,pattern={{major}}.{{minor}},suffix=-debian
35+
type=semver,pattern={{major}},suffix=-debian
3636
type=sha
37+
# set latest tag for main branch only
38+
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
39+
type=raw,value=latest,suffix=-debian
3740
- uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
3841
with:
3942
username: ${{ secrets.DOCKERHUB_USERNAME }}

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ If you need more TeX Live packages, you have the following options:
6565
By default these images are based on the Debian Linux distribution
6666
and follow the same release cycle as the parent
6767
[debian docker images](https://hub.docker.com/_/debian). These image
68-
versions are tagged with sufffix `-debian` (except for the `latest`
69-
tag). But there is also an Alpine Linux variant of these images for
70-
people who prefer smaller images. These image versions are tagged with
71-
sufffix `-alpine` and follow the same release cycle as the parent
68+
versions are tagged with sufffix `...-debian` including
69+
`latest-debian` (same as `latest`). But there is also an Alpine Linux
70+
variant of these images for people who prefer smaller images. These
71+
image versions are tagged with sufffix `...-alpine` including
72+
`latest-alpine`. They follow the same release cycle as the parent
7273
[alpine docker images](https://hub.docker.com/_/alpine). Note that
7374
although the risk might be low, Alpine Linux is using an alternative
7475
implementation of the C standard library called Musl which is smaller

0 commit comments

Comments
 (0)