Thanks to visit codestin.com
Credit goes to github.com

Skip to content

#3922 Remove -headless from the image #3923

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

Merged
merged 2 commits into from
Jan 31, 2024
Merged

#3922 Remove -headless from the image #3923

merged 2 commits into from
Jan 31, 2024

Conversation

himadrisingh
Copy link
Contributor

No description provided.

@himadrisingh himadrisingh self-assigned this Jan 29, 2024
Copy link
Contributor

@kaspersjo kaspersjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we keep rill-headless as the image name, but just remove the -headless part from the main.Version ldflag in this line, since that flag is used to resolve the version at runtime.

go build -o rill -mod=readonly -ldflags="-s -w -X main.Version=$(git describe --tags `git rev-list --tags --max-count=1`)-headless -X main.Commit=${GITHUB_SHA} -X main.BuildDate=$(date +%FT%T)" cli/main.go

@himadrisingh himadrisingh merged commit e5c47be into main Jan 31, 2024
@himadrisingh himadrisingh deleted the 3922 branch January 31, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants