diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 0394a2a..f8db02c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -17,7 +17,7 @@ env: # github.repository as / IMAGE_NAME: ${{ github.repository }} # branch name - BRANCH_NAME: ${{ github.ref_name }} + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} jobs: