-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-existent tag in image name #5554
Comments
@crazy-max sorry to bother you again. I think it would be great to tag the images with minor and major versions, so users can pin the Docker image to a major version using semantic versioning. Studying the documentation of mkdocs-material/.github/workflows/build.yml Lines 130 to 133 in f84725d
We're following semantic versioning as much as possible, so I believe we should use that, correct? If so, would this configuration work? What are tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}} This should tag the image with |
Yes that sounds good:
You could keep |
As you are just enabling push on release: mkdocs-material/.github/workflows/build.yml Line 163 in f84725d
Then |
Thanks for checking back so quickly! We'll keep |
Fixed in f37702a. On the next release, this issue will be resolved. |
And done! Big thanks again to @crazy-max for the quick and awesome support 🤘 |
Yeah tagging looks good, nice!: https://github.com/squidfunk/mkdocs-material/actions/runs/5113420446/jobs/9192600729#step:7:52 |
Description
Shell command
docker pull squidfunk/mkdocs-material:9
from Installation with docker section doesn't work, because tag9
doesn't exist:Related links
Proposed change
I don't really see difference between tags
9
andlatest
even if tag9
existed. For example, Installation with pip section provides 2 ways to install latest version. From my point of view, it will be more helpful if documentation will describe how to install latest version and some pinned version like in Ansible documentation. Same we can apply to Installation with docker section.Before submitting
The text was updated successfully, but these errors were encountered: