diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 09d11c278..163257c1c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,7 +48,7 @@ jobs: sudo curl -o /usr/local/bin/k https://raw.githubusercontent.com/jakepearson/k/master/k sudo chmod +x /usr/local/bin/k - name: Build aks-engine-azurestack binary - run: make build-binary + run: sudo make build-binary - name: print git status after build run: | git status @@ -65,7 +65,7 @@ jobs: git checkout -- . - name: Build Artifacts run: | - make dist + sudo make dist - name: Remove local tag run: git tag -d ${{ env.RELEASE_VERSION }} - name: Publish Release diff --git a/hack/tools/Makefile b/hack/tools/Makefile index 87081312d..672f7774c 100644 --- a/hack/tools/Makefile +++ b/hack/tools/Makefile @@ -71,7 +71,7 @@ azure-cli: chmod go+r /etc/apt/keyrings/microsoft.gpg echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ bullseye main" | tee /etc/apt/sources.list.d/azure-cli.list apt-get update - apt-get install -y --no-install-recommends azure-cli=$(AZCLI_VERSION)-1~bullseye + apt-get install -y --allow-downgrades --no-install-recommends azure-cli=$(AZCLI_VERSION)-1~bullseye apt-mark hold azure-cli .PHONY: kubectl