@@ -424,72 +424,10 @@ jobs:
424424 echo "::warning::SBOM attestation for agent-act failed after 3 attempts (Rekor may be unavailable)"
425425 exit 1
426426
427- build-dind-ubuntu :
428- name : Build DinD Ubuntu Image
429- runs-on : ubuntu-latest
430- needs : bump-version
431- outputs :
432- digest : ${{ steps.build_dind_ubuntu.outputs.digest }}
433- steps :
434- - name : Checkout code
435- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
436- with :
437- ref : ${{ needs.bump-version.outputs.version }}
438-
439- - name : Log in to GitHub Container Registry
440- uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
441- with :
442- registry : ghcr.io
443- username : ${{ github.actor }}
444- password : ${{ secrets.GITHUB_TOKEN }}
445-
446- - name : Set up Docker Buildx
447- uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
448-
449- - name : Set up QEMU
450- uses : docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
451- with :
452- platforms : arm64
453-
454- - name : Install cosign
455- uses : sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
456-
457- - name : Build and push DinD Ubuntu image
458- id : build_dind_ubuntu
459- uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
460- with :
461- context : ./containers/dind-ubuntu
462- push : true
463- platforms : linux/amd64,linux/arm64
464- tags : |
465- ghcr.io/${{ github.repository }}/dind-ubuntu:${{ needs.bump-version.outputs.version_number }}
466- ghcr.io/${{ github.repository }}/dind-ubuntu:latest
467- cache-from : type=gha,scope=dind-ubuntu
468- cache-to : type=gha,mode=max,scope=dind-ubuntu
469-
470- - name : Sign DinD Ubuntu image with cosign
471- run : |
472- cosign sign --yes \
473- ghcr.io/${{ github.repository }}/dind-ubuntu@${{ steps.build_dind_ubuntu.outputs.digest }}
474-
475- - name : Generate SBOM for DinD Ubuntu image
476- uses : anchore/sbom-action@28d71544de8eaf1b958d335707167c5f783590ad # v0.22.2
477- with :
478- image : ghcr.io/${{ github.repository }}/dind-ubuntu@${{ steps.build_dind_ubuntu.outputs.digest }}
479- format : spdx-json
480- output-file : dind-ubuntu-sbom.spdx.json
481-
482- - name : Attest SBOM for DinD Ubuntu image
483- run : |
484- cosign attest --yes \
485- --predicate dind-ubuntu-sbom.spdx.json \
486- --type spdxjson \
487- ghcr.io/${{ github.repository }}/dind-ubuntu@${{ steps.build_dind_ubuntu.outputs.digest }}
488-
489427 release :
490428 name : Create Release
491429 runs-on : ubuntu-latest
492- needs : [bump-version, build-squid, build-agent, build-api-proxy, build-cli-proxy, build-agent-act, build-dind-ubuntu ]
430+ needs : [bump-version, build-squid, build-agent, build-api-proxy, build-cli-proxy, build-agent-act]
493431 steps :
494432 - name : Checkout code
495433 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
@@ -587,7 +525,6 @@ jobs:
587525 "ghcr.io/${{ github.repository }}/squid@${{ needs['build-squid'].outputs.digest }}" \
588526 "ghcr.io/${{ github.repository }}/agent@${{ needs['build-agent'].outputs.digest }}" \
589527 "ghcr.io/${{ github.repository }}/agent-act@${{ needs['build-agent-act'].outputs.digest }}" \
590- "ghcr.io/${{ github.repository }}/dind-ubuntu@${{ needs['build-dind-ubuntu'].outputs.digest }}" \
591528 "ghcr.io/${{ github.repository }}/api-proxy@${{ needs['build-api-proxy'].outputs.digest }}" \
592529 "ghcr.io/${{ github.repository }}/cli-proxy@${{ needs['build-cli-proxy'].outputs.digest }}" \
593530 > release/containers.txt
0 commit comments