diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 3e9dd37..c680c70 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -36,6 +36,9 @@ jobs: - | #!/usr/bin/env sh git rev-parse --short HEAD > docker-tags/tags.txt + git show-ref --tags | \ + sed -n "/$(git rev-parse HEAD)/ s|$(git rev-parse HEAD).refs/tags/||gp" \ + >> docker-tags/tags.txt - task: build privileged: true config: