Skip to content

Commit 706b3db

Browse files
Update scan-docker-images-using-trivy.yaml
1 parent 8c0b692 commit 706b3db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/scan-docker-images-using-trivy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
pip install pipenv
2727
pipenv install
2828
- name: execute python program
29+
env:
30+
dockerhub_username: 'dockerofkrishnadhas'
2931
run: |
30-
pipenv run python3 get_all_docker_image_tags.py --account_name ${{ inputs.dockerhub_username }}
32+
pipenv run python3 get_all_docker_image_tags.py --account_name $dockerhub_username
3133
- name: check files
3234
run: |
3335
ls -la
@@ -52,4 +54,4 @@ jobs:
5254
done
5355
- name: Completed
5456
run: |
55-
echo "program completed successfully"
57+
echo "program completed successfully"

0 commit comments

Comments
 (0)