fix: remove unnecessary publish-manifest job from Docker workflow
Mirror to GitHub / mirror (push) Successful in 44s
Test and Lint / backend-test (push) Successful in 1m40s
Test and Lint / frontend-test (push) Successful in 2m19s
Version and Release / version-bump (push) Successful in 58s
Version and Release / trigger-drone (push) Has been skipped

The publish-manifest job was failing because it tried to create manifests
from non-existent architecture-specific tags (latest-amd64, latest-arm64).

docker/build-push-action@v5 already creates multi-arch manifests automatically
when building for multiple platforms, making this job redundant.

The workflow now correctly builds and pushes multi-arch images in a single
step with proper manifest lists included.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-29 22:15:34 +02:00
parent 0c283717cb
commit 986b101040
2 changed files with 231 additions and 31 deletions
+228
View File
@@ -490,5 +490,233 @@
"cpuLoad": 0.24553571428571427,
"platform": "darwin",
"uptime": 5184100
},
{
"timestamp": 1756497976641,
"memoryTotal": 25769803776,
"memoryUsed": 25611534336,
"memoryFree": 158269440,
"memoryUsagePercent": 99.38583374023438,
"memoryEfficiency": 0.614166259765625,
"cpuCount": 14,
"cpuLoad": 0.241455078125,
"platform": "darwin",
"uptime": 5184130
},
{
"timestamp": 1756498006642,
"memoryTotal": 25769803776,
"memoryUsed": 25213157376,
"memoryFree": 556646400,
"memoryUsagePercent": 97.83992767333984,
"memoryEfficiency": 2.1600723266601562,
"cpuCount": 14,
"cpuLoad": 0.19206891741071427,
"platform": "darwin",
"uptime": 5184160
},
{
"timestamp": 1756498036643,
"memoryTotal": 25769803776,
"memoryUsed": 25601622016,
"memoryFree": 168181760,
"memoryUsagePercent": 99.34736887613931,
"memoryEfficiency": 0.6526311238606866,
"cpuCount": 14,
"cpuLoad": 0.166015625,
"platform": "darwin",
"uptime": 5184190
},
{
"timestamp": 1756498066644,
"memoryTotal": 25769803776,
"memoryUsed": 25598246912,
"memoryFree": 171556864,
"memoryUsagePercent": 99.33427174886069,
"memoryEfficiency": 0.6657282511393134,
"cpuCount": 14,
"cpuLoad": 0.18861607142857142,
"platform": "darwin",
"uptime": 5184220
},
{
"timestamp": 1756498096644,
"memoryTotal": 25769803776,
"memoryUsed": 25673252864,
"memoryFree": 96550912,
"memoryUsagePercent": 99.62533315022787,
"memoryEfficiency": 0.37466684977212594,
"cpuCount": 14,
"cpuLoad": 0.15809849330357142,
"platform": "darwin",
"uptime": 5184250
},
{
"timestamp": 1756498126645,
"memoryTotal": 25769803776,
"memoryUsed": 25604145152,
"memoryFree": 165658624,
"memoryUsagePercent": 99.35715993245444,
"memoryEfficiency": 0.6428400675455634,
"cpuCount": 14,
"cpuLoad": 0.1923828125,
"platform": "darwin",
"uptime": 5184280
},
{
"timestamp": 1756498156646,
"memoryTotal": 25769803776,
"memoryUsed": 25472827392,
"memoryFree": 296976384,
"memoryUsagePercent": 98.84757995605469,
"memoryEfficiency": 1.1524200439453125,
"cpuCount": 14,
"cpuLoad": 0.17082868303571427,
"platform": "darwin",
"uptime": 5184310
},
{
"timestamp": 1756498186647,
"memoryTotal": 25769803776,
"memoryUsed": 25680084992,
"memoryFree": 89718784,
"memoryUsagePercent": 99.65184529622397,
"memoryEfficiency": 0.3481547037760322,
"cpuCount": 14,
"cpuLoad": 0.15248325892857142,
"platform": "darwin",
"uptime": 5184340
},
{
"timestamp": 1756498216648,
"memoryTotal": 25769803776,
"memoryUsed": 25150324736,
"memoryFree": 619479040,
"memoryUsagePercent": 97.59610493977866,
"memoryEfficiency": 2.4038950602213447,
"cpuCount": 14,
"cpuLoad": 0.12126813616071429,
"platform": "darwin",
"uptime": 5184370
},
{
"timestamp": 1756498246649,
"memoryTotal": 25769803776,
"memoryUsed": 25432735744,
"memoryFree": 337068032,
"memoryUsagePercent": 98.69200388590494,
"memoryEfficiency": 1.3079961140950616,
"cpuCount": 14,
"cpuLoad": 0.1064453125,
"platform": "darwin",
"uptime": 5184400
},
{
"timestamp": 1756498276651,
"memoryTotal": 25769803776,
"memoryUsed": 25311526912,
"memoryFree": 458276864,
"memoryUsagePercent": 98.22165171305338,
"memoryEfficiency": 1.778348286946624,
"cpuCount": 14,
"cpuLoad": 0.10954938616071429,
"platform": "darwin",
"uptime": 5184430
},
{
"timestamp": 1756498306652,
"memoryTotal": 25769803776,
"memoryUsed": 25348833280,
"memoryFree": 420970496,
"memoryUsagePercent": 98.36641947428384,
"memoryEfficiency": 1.6335805257161553,
"cpuCount": 14,
"cpuLoad": 0.16367885044642858,
"platform": "darwin",
"uptime": 5184460
},
{
"timestamp": 1756498336651,
"memoryTotal": 25769803776,
"memoryUsed": 25375817728,
"memoryFree": 393986048,
"memoryUsagePercent": 98.47113291422525,
"memoryEfficiency": 1.528867085774749,
"cpuCount": 14,
"cpuLoad": 0.17787388392857142,
"platform": "darwin",
"uptime": 5184490
},
{
"timestamp": 1756498366652,
"memoryTotal": 25769803776,
"memoryUsed": 25577963520,
"memoryFree": 191840256,
"memoryUsagePercent": 99.25556182861328,
"memoryEfficiency": 0.7444381713867188,
"cpuCount": 14,
"cpuLoad": 0.17145647321428573,
"platform": "darwin",
"uptime": 5184520
},
{
"timestamp": 1756498396654,
"memoryTotal": 25769803776,
"memoryUsed": 25448529920,
"memoryFree": 321273856,
"memoryUsagePercent": 98.753293355306,
"memoryEfficiency": 1.246706644694001,
"cpuCount": 14,
"cpuLoad": 0.16629464285714285,
"platform": "darwin",
"uptime": 5184550
},
{
"timestamp": 1756498426655,
"memoryTotal": 25769803776,
"memoryUsed": 25515425792,
"memoryFree": 254377984,
"memoryUsagePercent": 99.01288350423178,
"memoryEfficiency": 0.9871164957682197,
"cpuCount": 14,
"cpuLoad": 0.17731584821428573,
"platform": "darwin",
"uptime": 5184580
},
{
"timestamp": 1756498456656,
"memoryTotal": 25769803776,
"memoryUsed": 25497681920,
"memoryFree": 272121856,
"memoryUsagePercent": 98.94402821858725,
"memoryEfficiency": 1.055971781412751,
"cpuCount": 14,
"cpuLoad": 0.20476422991071427,
"platform": "darwin",
"uptime": 5184610
},
{
"timestamp": 1756498486656,
"memoryTotal": 25769803776,
"memoryUsed": 25623166976,
"memoryFree": 146636800,
"memoryUsagePercent": 99.43097432454428,
"memoryEfficiency": 0.5690256754557197,
"cpuCount": 14,
"cpuLoad": 0.17780412946428573,
"platform": "darwin",
"uptime": 5184640
},
{
"timestamp": 1756498516658,
"memoryTotal": 25769803776,
"memoryUsed": 25169461248,
"memoryFree": 600342528,
"memoryUsagePercent": 97.67036437988281,
"memoryEfficiency": 2.3296356201171875,
"cpuCount": 14,
"cpuLoad": 0.15691266741071427,
"platform": "darwin",
"uptime": 5184670
}
]
+3 -31
View File
@@ -179,37 +179,9 @@ jobs:
sarif_file: 'trivy-frontend.sarif'
category: 'frontend-vulnerabilities'
publish-manifest:
needs: [build-backend, build-frontend]
if: github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Log in to Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Create and push multi-arch manifest for Backend
run: |
docker manifest create \
${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:latest \
--amend ${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:latest-amd64 \
--amend ${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:latest-arm64
docker manifest push ${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:latest
- name: Create and push multi-arch manifest for Frontend
run: |
docker manifest create \
${{ env.REGISTRY }}/${{ env.FRONTEND_IMAGE_NAME }}:latest \
--amend ${{ env.REGISTRY }}/${{ env.FRONTEND_IMAGE_NAME }}:latest-amd64 \
--amend ${{ env.REGISTRY }}/${{ env.FRONTEND_IMAGE_NAME }}:latest-arm64
docker manifest push ${{ env.REGISTRY }}/${{ env.FRONTEND_IMAGE_NAME }}:latest
# Note: The publish-manifest job is not needed since docker/build-push-action@v5
# automatically creates multi-arch manifests when building for multiple platforms.
# The images are already properly tagged and include all architectures.
summary:
needs: [build-backend, build-frontend]