Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
66 stars 23 forks source link

The latest docker image points to an outdated version of the api #210

Closed demeringo closed 9 months ago

demeringo commented 10 months ago

Bug description

The docker image with tag latest is an outdated version.

To Reproduce

docker run -p 80:5000 ghcr.io/boavizta/boaviztapi:latest

open http://localhost/docs/

Api Version is the very outdated 0.1.2

Expected behavior

latest tag should point to the latest release (or latest dev commit).

JSON OUTPUT

Additional context

da-ekchajzer commented 9 months ago

Thanks for your bug report. I think we should leave the latest tag and release the dev version into production quickly - since the version is ready.

demeringo commented 9 months ago

Yes but I believe we should still tag one of our latest release of main (stable) or dev branch with latest tag.

The rationale is that I think that i someone fetches the API docker image without passing an explicit tag, this is always the "latest" version that is returned by the registry.

demeringo commented 9 months ago

To clarify the issue: today (prior releasing the 1.0.x) our latest stable release is a 0.2.x (but the latest docker tag still points to a 0.1.x release)

da-ekchajzer commented 9 months ago

I think that the latest should point to 0.2.2 ? image

Link : https://github.com/Boavizta/boaviztapi/pkgs/container/boaviztapi

demeringo commented 9 months ago

Yes, you are abolutely right.... I do not know how I missed it (confused !).

Thank you, we can close this.