diff --git a/.github/workflows/docker-release.yaml b/.github/workflows/docker-release.yaml index b38181d11..955e0702c 100644 --- a/.github/workflows/docker-release.yaml +++ b/.github/workflows/docker-release.yaml @@ -55,8 +55,9 @@ jobs: - name: Build and push image run: | + export PATH=$PATH:$(dirname $(which cross)) if [ -n "${{ github.event.inputs.version }}" ]; then - make GIT_TAG="${{ github.event.inputs.version }}" docker-build + sudo make GIT_TAG="${{ github.event.inputs.version }}" docker-build else - make docker-build-latest + sudo make docker-build-latest fi