diff --git a/.github/workflows/docker_build_and_push.yml b/.github/workflows/docker_build_and_push.yml index d8c40d5..57e37f0 100644 --- a/.github/workflows/docker_build_and_push.yml +++ b/.github/workflows/docker_build_and_push.yml @@ -7,7 +7,7 @@ on: - 'main' env: - DOCKERHUB_TAG: ${{ env.BRANCH == 'main' && 'latest' || 'develop' }} + DOCKERHUB_TAG: ${{ github.ref_name == 'main' && 'latest' || 'develop' }} jobs: