diff --git a/.github/workflows/cd-syft.yml b/.github/workflows/cd-syft.yml index d114f405026..3ae5e414d92 100644 --- a/.github/workflows/cd-syft.yml +++ b/.github/workflows/cd-syft.yml @@ -112,6 +112,7 @@ jobs: echo "short_release_platform=arm64" >> $GITHUB_OUTPUT fi echo "grid_version=$(python packages/grid/VERSION)" >> $GITHUB_OUTPUT + echo "seaweedfs_version=$(grep 'SEAWEEDFS_VERSION' packages/grid/default.env | cut -d '=' -f2)" >> $GITHUB_OUTPUT # TODO: Optimize redundant bump protocol version checks - name: Check and Bump Protocol Version @@ -186,6 +187,8 @@ jobs: context: ./packages/grid/seaweedfs file: ./packages/grid/seaweedfs/seaweedfs.dockerfile platforms: ${{ steps.release_metadata.outputs.release_platform }} + build-args: | + SEAWEEDFS_VERSION=${{ steps.release_metadata.outputs.seaweedfs_version }} outputs: type=image,name=openmined/grid-seaweedfs,push-by-digest=true,name-canonical=true,push=true cache-from: type=registry,ref=openmined/grid-seaweedfs:cache-${{ steps.release_metadata.outputs.short_release_platform }} cache-to: type=registry,ref=openmined/grid-seaweedfs:cache-${{ steps.release_metadata.outputs.short_release_platform}},mode=max