Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

ci: attach provenance and SBOM attestations to the published image (#835)

Kobi Hikri12b139d4457d
diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml
index f79f295..2356046 100644
--- a/.github/workflows/publish_docker.yml
+++ b/.github/workflows/publish_docker.yml
@@ -51,6 +51,8 @@ jobs:
context: .
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
+ provenance: mode=max
+ sbom: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/rembg:buildcache