mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-08 23:03:55 -05:00
fix: remove duplicate shell key in infra-health-check.yml
This commit is contained in:
24
.github/workflows/book-build-container.yml
vendored
24
.github/workflows/book-build-container.yml
vendored
@@ -349,30 +349,6 @@ jobs:
|
||||
echo "🏷️ Container tag: ${{ inputs.container_tag }}"
|
||||
echo "✅ Current matrix job enabled: ${{ matrix.enabled }}"
|
||||
|
||||
- name: 🔑 Log in to GitHub Container Registry
|
||||
if: matrix.platform == 'windows' && matrix.enabled
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ inputs.container_registry }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
$maxAttempts = 12
|
||||
for ($i = 1; $i -le $maxAttempts; $i++) {
|
||||
try {
|
||||
docker version | Out-Null
|
||||
Write-Host "Docker daemon is ready."
|
||||
break
|
||||
} catch {
|
||||
if ($i -eq $maxAttempts) {
|
||||
throw "Docker daemon failed to start after waiting."
|
||||
}
|
||||
Start-Sleep -Seconds 5
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
- name: 🧪 Preflight toolchain (Linux)
|
||||
if: matrix.platform == 'linux' && matrix.enabled
|
||||
working-directory: ${{ vars.BOOK_QUARTO }}
|
||||
|
||||
1
.github/workflows/infra-health-check.yml
vendored
1
.github/workflows/infra-health-check.yml
vendored
@@ -83,7 +83,6 @@ jobs:
|
||||
platform: linux
|
||||
container_name: quarto-linux
|
||||
shell: bash
|
||||
shell: pwsh
|
||||
|
||||
env:
|
||||
CONTAINER_IMAGE: ${{ inputs.container_registry || 'ghcr.io' }}/${{ github.repository }}/${{ matrix.container_name }}:${{ inputs.container_tag || 'latest' }}
|
||||
|
||||
Reference in New Issue
Block a user