Closed frydrycht closed 2 months ago
That's odd. Looking at the tags for the Docker image confirms that the latest tag was created at the same time as the 2.4.0 tag. So that checks out.
When pulling the latest tag, I also get 2.4.0 as expected:
$ docker run --rm tusproject/tusd:latest --version
Version: v2.4.0
Commit: 50b9ff5623c26c856ec97e2e0a9a44c0f6baaceb
Date: Mon Mar 18 20:42:00 UTC 2024
Do you get something different? Maybe the lastest tag is cached for you and you have to pull it again?
OK, I have to get to know docker better :). In my images there was version of tusd from January and it was still used as a latest. You can close the ticket.
Describe the bug I am working on
pre-create
hook to add some ID prefix to separate the data in file storage. I found that I can use slashes to build hierarchical (directory-like) schema. It was introduced with PR https://github.com/tus/tusd/pull/1020 and finally released in version 2.3.0. I used thelatest
version of docker image but I got 404 onPATCH
request to upload file content. After some time I decided to change docker image first tov2.3.0
and it started to work. Then I verifiedv2.4.0
(latest release) and it also works so it seemslatest
docker image does not contain latest version of tusd.To Reproduce Steps to reproduce the behavior:
latest
docker image to start the servicepre-create
hook to change the file ID to contain prefix with slash (/)PATCH
request to upload the content ends with 404Expected behavior
latest
docker image contains latest version of tusdSetup details N.A.