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:00 +03:00
1 parent 8e2732b323
commit 3dfd9052be
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:
@@ -82,3 +84,10 @@ jobs:
TAG: ${{ github.event.release.tag_name }}
run: gh release upload "$TAG" 3proxy-${{ env.RELEASE }}.x86_64.deb
- name: Attest build provenance
if: github.event_name == 'release'
uses: actions/attest-build-provenance@v2
with:
subject-path: |
*.rpm
*.deb