We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0226641 commit e4b7e59Copy full SHA for e4b7e59
.github/workflows/base-image.yaml
@@ -23,7 +23,8 @@ jobs:
23
24
- name: Make tag
25
run: |
26
- [ "${GITHUB_EVENT_NAME}" == 'workflow_dispatch' ] && echo "tag=${GITHUB_HEAD_REF##*/}" >> $GITHUB_ENV
+ git fetch --tags
27
+ echo "tag=$(git describe --tags --exact-match 2> /dev/null || git symbolic-ref -q --short HEAD || git rev-parse --short HEAD)" >> $GITHUB_ENV
28
29
- name: Set up Docker Buildx
30
uses: docker/setup-buildx-action@v3
0 commit comments