From 69a5e354a26eb2ae9b41b6e16c4c7298e899cc89 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 3 Sep 2026 09:14:00 -0700 Subject: [PATCH] docker release: sign the foundationdb image Claude-Session: https://claude.ai/code/session_01A5zMqzaUg1Snur4Yg8xJGa --- .github/workflows/container_release_foundationdb.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/container_release_foundationdb.yml b/.github/workflows/container_release_foundationdb.yml index ebb098aab..ccc4d0bc9 100644 --- a/.github/workflows/container_release_foundationdb.yml +++ b/.github/workflows/container_release_foundationdb.yml @@ -21,6 +21,9 @@ jobs: build-large-release-container_foundationdb: runs-on: [ubuntu-latest] + permissions: + contents: read + id-token: write steps: - @@ -65,6 +68,7 @@ jobs: fi - name: Build + id: build uses: docker/build-push-action@v7 with: context: ./docker @@ -76,4 +80,10 @@ jobs: platforms: linux/amd64 tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }} + - + name: Sign + if: github.event_name != 'pull_request' + uses: ./.github/actions/sign-image + with: + images: chrislusf/seaweedfs@${{ steps.build.outputs.digest }}