describe version correctly
@@ -52,6 +52,12 @@ jobs:
env:
DOCKER_CLI_EXPERIMENTAL: enabled
steps:
+ - name: Checkout code
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - name: Describe version
+ run: git describe --tags --abbrev=0
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
