Docker build CI action updated
This commit is contained in:
parent
34605c12b2
commit
27caf3890b
|
|
@ -180,7 +180,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: "Set up Docker Buildx"
|
- name: "Set up Docker Buildx"
|
||||||
uses: actions/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: "Build Backend Production Image"
|
- name: "Build Backend Production Image"
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
|
|
||||||
|
|
@ -243,3 +243,19 @@
|
||||||
- Verified `.github/workflows/ci.yml` YAML syntax via `yaml.safe_load()`.
|
- 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 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.
|
- 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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue