Missing version when using with docker compose


#1

Hi gitea community.

First of all thanks for your support and for gitea, I’m very happy for the latest release v1.5.1.

I use gitea for my personal projects and I’ve installed it in my company too. For my personal instance I use docker-compose and for my company we install from git tags.

I’ve noticed tha the version label in the footer is different when using docker-compose or git tags and this happens with v1.5.0 and v1.5.1, I don’t know the behaviour for older releases.

In my personal instance I see Gitea Version: 38d8b8c but in my company I see Gitea Version: 1.5.1.

I reported this here because I consider this is not an important bug.
The configuration I’m using for docker compose is:

version: "3"

networks:
  arvisoft:
    external: true

services:
  server:
    image: gitea/gitea:1.5.1
    environment:
      - USER_UID=1000
      - USER_GID=1000
    restart: always
    volumes:
      - ./gitea:/data
    ports:
      - "127.0.0.1:3000:3000"
      - "222:22"
    networks:
      - arvisoft

#2

IIRC version display in footer was one of the items addressed in the 1.5.1 release. Could it be Docker was built before the commit sha was tagged?