Skip to content

Commit 4d65d41

Browse files
authored
Fix: Use correct user for the image registry in trivy scanning step (#63)
1 parent 477b965 commit 4d65d41

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
@@ -119,6 +119,8 @@ jobs:
119119
uses: greenbone/workflows/.github/workflows/generate-and-push-sbom-with-trivy-3rd-gen.yml@main
120120
with:
121121
image-url: "${{ vars.GREENBONE_REGISTRY}}/opensight/opensight-postgres:${{ inputs.version }}"
122+
image-registry-username-secret-name: "GREENBONE_REGISTRY_READ_USER"
123+
image-registry-password-secret-name: "GREENBONE_REGISTRY_READ_TOKEN"
122124
output-file-name: 'opensight-postgres.${{ inputs.version }}.sbom.json'
123125
artifact-url: "${{ vars.GREENBONE_REGISTRY }}/opensight-dev/opensight-postgres-sbom:${{ inputs.version }}"
124126
secrets: inherit

0 commit comments

Comments
 (0)