diff --git a/.github/workflows/push-to-latest.yml b/.github/workflows/push-to-latest.yml index baae492..c83041a 100644 --- a/.github/workflows/push-to-latest.yml +++ b/.github/workflows/push-to-latest.yml @@ -23,3 +23,4 @@ jobs: username: prometheusnet password: ${{ secrets.docker_hub_token }} snapshot: true + buildoptions: '--label version="${{ steps.make_version_string.outputs.versionstring }}"' \ No newline at end of file diff --git a/.github/workflows/push-to-master.yml b/.github/workflows/push-to-master.yml index e6ed569..989dbbb 100644 --- a/.github/workflows/push-to-master.yml +++ b/.github/workflows/push-to-master.yml @@ -22,4 +22,5 @@ jobs: name: prometheusnet/docker_exporter:cb username: prometheusnet password: ${{ secrets.docker_hub_token }} - snapshot: true \ No newline at end of file + snapshot: true + buildoptions: '--label version="${{ steps.make_version_string.outputs.versionstring }}"' \ No newline at end of file