diff --git a/README.md b/README.md index ef4b671..13af032 100644 --- a/README.md +++ b/README.md @@ -206,13 +206,15 @@ The following prefixes are supported: ## `attestation-add` Inputs -| | | | | -|:-----------------|:------------------------------|:---------|:----------------------------------| -| `file` | **optional** default is empty | `string` | File path to the attestation file | -| `predicate-type` | **optional** default is empty | `string` | Predicate type of the attestation | +| | | | | +|:-----------------|:------------------------------|:----------|:------------------------------------| +| `tags` | **optional** default is empty | `string` | Additional tags for the attestation | +| `file` | **optional** default is empty | `string` | File path to the attestation file | +| `predicate-type` | **optional** default is empty | `string` | Predicate type of the attestation | +| `referrer` | **optional** default is false | `boolean` | Store attestations in Docker Scout | ## Example usage - + ### Build an image, push and compare ```yaml diff --git a/action.yaml b/action.yaml index 8544ce3..bfbd28b 100644 --- a/action.yaml +++ b/action.yaml @@ -117,12 +117,26 @@ inputs: description: Output file for the SBOM # attestation add flags + tags: + required: false + description: List of tags to add to the attestation file: required: false description: File path to the attestation file predicate-type: required: false description: Predicate type of the attestation + referrer: + required: false + description: Enable OCI referrer API for pushing attestation + default: false + # credentials needed to push images + registry-write-user: + description: Registry user to push attestations + required: false + registry-write-password: + description: Registry password to push attestations + required: false dockerhub-user: required: false diff --git a/dist/docker-scout-action_darwin_amd64 b/dist/docker-scout-action_darwin_amd64 index 01bb166..944de87 100755 Binary files a/dist/docker-scout-action_darwin_amd64 and b/dist/docker-scout-action_darwin_amd64 differ diff --git a/dist/docker-scout-action_darwin_arm64 b/dist/docker-scout-action_darwin_arm64 index 334ead2..553a271 100755 Binary files a/dist/docker-scout-action_darwin_arm64 and b/dist/docker-scout-action_darwin_arm64 differ diff --git a/dist/docker-scout-action_linux_amd64 b/dist/docker-scout-action_linux_amd64 index 32e73eb..f21c696 100755 Binary files a/dist/docker-scout-action_linux_amd64 and b/dist/docker-scout-action_linux_amd64 differ diff --git a/dist/docker-scout-action_linux_arm64 b/dist/docker-scout-action_linux_arm64 index 88f77e1..e172894 100755 Binary files a/dist/docker-scout-action_linux_arm64 and b/dist/docker-scout-action_linux_arm64 differ diff --git a/dist/docker-scout-action_windows_amd64.exe b/dist/docker-scout-action_windows_amd64.exe index a4a7ed5..965d897 100755 Binary files a/dist/docker-scout-action_windows_amd64.exe and b/dist/docker-scout-action_windows_amd64.exe differ diff --git a/dist/docker-scout-action_windows_arm64.exe b/dist/docker-scout-action_windows_arm64.exe index e7abb60..0ff7dfd 100755 Binary files a/dist/docker-scout-action_windows_arm64.exe and b/dist/docker-scout-action_windows_arm64.exe differ