Add version label to image
This commit is contained in:
parent
e432961cdf
commit
82f505eba1
2 changed files with 3 additions and 1 deletions
1
.github/workflows/push-to-latest.yml
vendored
1
.github/workflows/push-to-latest.yml
vendored
|
@ -23,3 +23,4 @@ jobs:
|
|||
username: prometheusnet
|
||||
password: ${{ secrets.docker_hub_token }}
|
||||
snapshot: true
|
||||
buildoptions: '--label version="${{ steps.make_version_string.outputs.versionstring }}"'
|
3
.github/workflows/push-to-master.yml
vendored
3
.github/workflows/push-to-master.yml
vendored
|
@ -22,4 +22,5 @@ jobs:
|
|||
name: prometheusnet/docker_exporter:cb
|
||||
username: prometheusnet
|
||||
password: ${{ secrets.docker_hub_token }}
|
||||
snapshot: true
|
||||
snapshot: true
|
||||
buildoptions: '--label version="${{ steps.make_version_string.outputs.versionstring }}"'
|
Loading…
Add table
Reference in a new issue