diff --git a/.github/workflows/push-dev.yml b/.github/workflows/push-dev.yml index 4187e87e2..a0ff8a1da 100644 --- a/.github/workflows/push-dev.yml +++ b/.github/workflows/push-dev.yml @@ -5,6 +5,11 @@ on: schedule: - cron: '0 14 * * MON' +permissions: + id-token: write + contents: write + pull-requests: write + jobs: build-and-push: name: Build and push @@ -15,6 +20,7 @@ jobs: page-total: [66] fail-fast: false runs-on: devcontainer-image-builder-ubuntu + environment: documentation steps: - name: Free more space id: free_space @@ -33,7 +39,9 @@ jobs: id: az_login uses: azure/login@v1 with: - creds: ${{ secrets.AZ_ACR_CREDS }} + client-id: ${{ secrets.AZURE_CLIENT_ID }} + tenant-id: ${{ secrets.AZURE_TENANT_ID }} + subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - name: Build and push dev tags id: build_and_push diff --git a/.github/workflows/version-history.yml b/.github/workflows/version-history.yml index d395b9123..154acda75 100644 --- a/.github/workflows/version-history.yml +++ b/.github/workflows/version-history.yml @@ -52,7 +52,9 @@ jobs: id: az_login uses: azure/login@v1 with: - creds: ${{ secrets.AZ_ACR_CREDS }} + client-id: ${{ secrets.AZURE_CLIENT_ID }} + tenant-id: ${{ secrets.AZURE_TENANT_ID }} + subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - name: Get image info id: Get_image_info