use github.head_ref, if available (pull requests)

Signed-off-by: Alexey Aristov <aav@acm.org>
This commit is contained in:
Alexey Aristov 2025-05-08 13:12:38 +02:00
parent 99b0ba898a
commit b090eb9500
No known key found for this signature in database
GPG Key ID: EC5C259ABC7D90EA

View File

@ -686,7 +686,7 @@ jobs:
source_ref: v0.1.0
docker_user: hardcoreeng
docker_password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
docker_image: "hardcoreeng/hulykvs:${{ github.ref_name }}"
docker_image: "hardcoreeng/hulykvs:${{ github.head_ref || github.ref_name }}"
steps:
- name: Login to Docker Hub