File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -41,20 +41,17 @@ jobs:
41
41
# from AZURE_REGISTRY secret is not exported from here.
42
42
43
43
publish-images :
44
- runs-on : ubuntu-latest
44
+ runs-on :
45
+ labels : [self-hosted, "1ES.Pool=1es-aks-fleet-pool-ubuntu"]
45
46
needs : prepare-variables
46
47
steps :
47
48
- uses : actions/checkout@v4
48
49
with :
49
50
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 }}
56
51
- 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 }}
58
55
- name : Build and publish hub-agent
59
56
run : |
60
57
make docker-build-hub-agent
72
69
make docker-build-refresh-token
73
70
env :
74
71
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