Skip to content
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

docker workflow: add git and build information as build arguments #63

Merged
merged 9 commits into from
Nov 17, 2023

Conversation

cosimomeli
Copy link
Contributor

Description

Add git and build information as docker build args.

Changes Made

The following build-args have been added:

  • GIT_REV: commit hash
  • GIT_VERSION: branch name or tag
  • GIT_URL: URL of source repository
  • BUILD_DATE: ISO 8601 date and time of build

Related Issues

Checklist

  • I have used a PR title that is descriptive enough for a release note.
  • I have tested these changes locally.
  • I have added appropriate tests or updated existing tests.
  • I have tested these changes on a dedicated VM or a customer VM [name of the VM]
  • I have added appropriate documentation or updated existing documentation.

@cosimomeli cosimomeli added the feature This issue/PR relates to a feature request. label Nov 17, 2023
@cosimomeli cosimomeli requested a review from chicco785 November 17, 2023 11:11
@cosimomeli cosimomeli self-assigned this Nov 17, 2023
@chicco785 chicco785 changed the title Add Git and Build information as Docker Build Args docker workflow: add git and build information as build arguments Nov 17, 2023
Copy link
Member

@chicco785 chicco785 left a comment

Choose a reason for hiding this comment

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

🦈

@cosimomeli cosimomeli merged commit 479ffa3 into main Nov 17, 2023
8 checks passed
@cosimomeli cosimomeli deleted the add-docker-git-info branch November 17, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants