Docker build CI action updated

This commit is contained in:
Prashant Shendre 2026-10-13 20:50:38 +05:30
parent 34605c12b2
commit 27caf3890b
2 changed files with 17 additions and 1 deletions

View File

@ -180,7 +180,7 @@ jobs:
uses: actions/checkout@v4
- name: "Set up Docker Buildx"
uses: actions/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3
- name: "Build Backend Production Image"
uses: docker/build-push-action@v5

View File

@ -243,3 +243,19 @@
- Verified `.github/workflows/ci.yml` YAML syntax via `yaml.safe_load()`.
- Executed `python3 project_code/tests/run_all_tests.py`: 197/197 passing, 98.4% statement coverage.
- Executed `python3 scripts/verify_traceability_gates.py --all`: Gates 5.1, 9.1, and 14.1 all PASSED with 0 issues.
---
### Turn 13: 2026-10-13T15:20:00Z
- **User:**
Reported that in Step 4 ("Docker Multi-Stage Build & Security Scan"), execution failed with:
`Error: Unable to resolve action actions/setup-buildx-action, repository not found`.
- **Agent Analysis & Implementation:**
- **Root Cause Diagnosis:**
- Line 183 of `.github/workflows/ci.yml` referenced `actions/setup-buildx-action@v3`.
- The Buildx GitHub Action is maintained by Docker under `docker/setup-buildx-action@v3`, not under GitHub's `actions` organization.
- **Implementation Fixes:**
- Corrected action reference in `.github/workflows/ci.yml` from `actions/setup-buildx-action@v3` to `docker/setup-buildx-action@v3`.
- **Verification:**
- Verified `.github/workflows/ci.yml` YAML syntax via `yaml.safe_load()`.
- Confirmed all other action references (`actions/checkout@v4`, `actions/setup-python@v5`, `docker/build-push-action@v5`) match official publisher namespaces.