Skip to content

Commit 4336902

Browse files
author
Jessica Lai
committed
Fix: Use correct user for the image registry in trivy scanning step
1 parent 6342435 commit 4336902

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ jobs:
102102
uses: greenbone/workflows/.github/workflows/generate-and-push-sbom-with-trivy-3rd-gen.yml@main
103103
with:
104104
image-url: "${{ vars.GREENBONE_REGISTRY}}/opensight/opensight-postgres:${{ inputs.version }}"
105+
image-registry-username-secret-name: "GREENBONE_REGISTRY_READ_USER"
106+
image-registry-password-secret-name: "GREENBONE_REGISTRY_READ_TOKEN"
105107
output-file-name: 'opensight-postgres.${{ inputs.version }}.sbom.json'
106108
artifact-url: "${{ vars.GREENBONE_REGISTRY }}/opensight-dev/opensight-postgres-sbom:${{ inputs.version }}"
107109
secrets: inherit

0 commit comments

Comments
 (0)