Rework docker workflow, add build provenance attestations

Docker: single workflow, one job per image per platform instead of one
workflow per registry. Platforms are built in parallel and pushed by
digest, then combined into a manifest list pushed to Docker Hub and GHCR
at once, so both registries get identical digests. arm64 and arm/v7 build
on native arm runners, ppc64le is dropped.

Registry provenance/sbom attestations are disabled (they were shown as
unknown/unknown entries in the registries), build provenance is attested
with actions/attest-build-provenance instead and is verifiable with
'gh attestation verify oci://...'. Release binaries (rpm, deb, zip) are
attested the same way. cosign version is pinned and images are signed by
digest.
This commit is contained in:
Vladimir Dubrovin committed 2026-08-20 20:04:30 +03:00
1 parent ff3398c6a9
commit f4ad34c35a
9 files changed
+205 -152

No files matched your search

+9
View File
@@ -7,6 +7,8 @@ on:
permissions:
contents: write
id-token: write
attestations: write
jobs:
ci:
@@ -114,3 +116,10 @@ jobs:
GH_TOKEN: ${{ github.token }}
TAG: ${{ github.event.release.tag_name }}
run: gh release upload "$TAG" 3proxy-${{ env.RELEASE }}.arm.deb
- name: Attest build provenance
if: github.event_name == 'release'
uses: actions/attest-build-provenance@v2
with:
subject-path: |
*.rpm
*.deb