File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -41,20 +41,17 @@ jobs:
4141 # from AZURE_REGISTRY secret is not exported from here.
4242
4343 publish-images :
44- runs-on : ubuntu-latest
44+ runs-on :
45+ labels : [self-hosted, "1ES.Pool=1es-aks-fleet-pool-ubuntu"]
4546 needs : prepare-variables
4647 steps :
4748 - uses : actions/checkout@v4
4849 with :
4950 ref : ${{ needs.prepare-variables.outputs.release_tag }}
50- - name : ' OIDC Login to Azure Public Cloud'
51- uses : azure/login@v2
52- with :
53- client-id : ${{ secrets.AZURE_CLIENT_ID }}
54- tenant-id : ${{ secrets.AZURE_TENANT_ID }}
55- subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
5651 - name : ' Login the ACR'
57- run : az acr login -n ${{ secrets.AZURE_REGISTRY }}
52+ run : |
53+ az login --identity
54+ az acr login -n ${{ secrets.AZURE_REGISTRY }}
5855 - name : Build and publish hub-agent
5956 run : |
6057 make docker-build-hub-agent
7269 make docker-build-refresh-token
7370 env :
7471 REFRESH_TOKEN_IMAGE_VERSION : ${{ needs.prepare-variables.outputs.release_tag }}
75- REGISTRY : ${{ secrets.AZURE_REGISTRY }}/${{ env.REGISTRY_REPO}}
72+ REGISTRY : ${{ secrets.AZURE_REGISTRY }}/${{ env.REGISTRY_REPO}}
You can’t perform that action at this time.
0 commit comments