diff --git a/.github/workflows/builder.yaml b/.github/workflows/builder.yaml index f68f2e0e4..8bd86ecfc 100644 --- a/.github/workflows/builder.yaml +++ b/.github/workflows/builder.yaml @@ -56,7 +56,7 @@ jobs: if [[ "${{ steps.info.outputs.architectures }}" =~ ${{ matrix.arch }} ]]; then echo "::set-output name=build_arch::true"; echo "::set-output name=image::$(echo ${{ steps.info.outputs.image }} | cut -d'/' -f3)"; - if [[ -z "${{ HEAD }}" ]] && [[ "${{ github.event_name }}" == "push" ]]; then + if [[ -z "$HEAD" ]] && [[ "${{ github.event_name }}" == "push" ]]; then echo "BUILD_ARGS=" >> $GITHUB_ENV; fi else