github / safe-settings

ISC License
599 stars 146 forks source link

version is not shown correctly #552

Open v1v opened 10 months ago

v1v commented 10 months ago

Problem Description

Version is not shown correctly when running the app, for instance:

What is actually happening

Given the docker image ghcr.io/github/safe-settings:2.1.0
When I run docker run --rm -ti ghcr.io/github/safe-settings:2.1.0
Then I see safe-settings@0.1.0-rc.26 start
Given the docker image ghcr.io/github/safe-settings:2.1.0
When I run docker inspect ghcr.io/github/safe-settings:2.1.0 |  jq -r '.[0].Config.Labels'  
Then I see "version": "1.0"

What is the expected behavior

To show safe-settings@2.1.0 start and version: 2.1.0

Error output, if available

Context

Are you using the hosted instance of probot/settings or running your own?

If running your own instance, are you using it with github.com or GitHub Enterprise?

Version of probot/settings

Version of GitHub Enterprise