Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/publish-syncroot-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ jobs:
name: Publish syncroot artifact
if: github.ref == 'refs/heads/main'
runs-on: self-hosted
# The self-hosted runners are Azure Container App Jobs, which inject a
# managed identity endpoint. flux --provider=azure uses DefaultAzureCredential,
# which then tries ManagedIdentityCredential, gets HTTP 400 (the job has a
# user-assigned identity and flux passes no client id), and aborts the whole
# credential chain before reaching the az login session from azure/login.
# Clearing these makes that step fall through to the CLI credential, which is
# what happens on GitHub-hosted runners.
env:
IDENTITY_ENDPOINT: ""
MSI_ENDPOINT: ""
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand Down