Building docker image questions (OD-2366)
Artur opened 9 months ago

Hi,

I am trying to create buildspec to build docker image for the project and push it to Packages on my OneDev instance docker registry.

Now for the tag number I would like to use the most recent tag from the git repository tags. I know how to get the tag from the git repo:

TAG_NO=$(git describe --tags --abbrev=0)
  1. But the question is how to use this value in the Docker Image\Build Image step?
  2. What should be exact settings in the stop to push the image to the OneDev Packages registry?
  • Artur commented 9 months ago

    I am sorry for duplicate posting. There seems to be network issues or some other problems with submitting new issues which result in multiple entries.

  • Artur changed state to 'Closed' 9 months ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2366
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover