From 190c600d0b745cf8cecc4da728dd6c80a767e617 Mon Sep 17 00:00:00 2001 From: Gabriele Oliaro Date: Wed, 19 Jul 2023 18:18:28 -0400 Subject: [PATCH] Docker fix (#874) --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 280539eb5f..d059a0605f 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -44,7 +44,7 @@ jobs: env: FF_GPU_BACKEND: ${{ matrix.gpu_backend }} cuda_version: ${{ matrix.cuda_version }} - branch_name: ${GITHUB_REF#refs/heads/} + branch_name: ${{ github.head_ref || github.ref_name }} steps: - name: Checkout Git Repository uses: actions/checkout@v3