File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1818 outputs :
1919 image_tag : ${{ steps.vars.outputs.commit_hash }}
2020 tar_file : ${{ steps.vars.outputs.tar_file }}
21+ image_name : ${{ steps.vars.outputs.artifact_name }}
2122 steps :
2223 - name : Checkout repository
2324 uses : actions/checkout@v4
4950 - name : Upload Docker image artifact
5051 uses : actions/upload-artifact@v4
5152 with :
52- name : ${{ env.artifact_name }}
53+ name : ${{ env.tar_file }}
5354 path : ${{ env.tar_file }}
5455 retention-days : 1
5556
6465
6566 - name : Load Docker image
6667 run : |
67- docker load -i ndc-openapi- ${{ needs.build-docker-image.outputs.image_tag }}.tar
68+ docker load -i ${{ needs.build-docker-image.outputs.tar_file }}
6869
6970 - name : Run Trivy vulnerability scan
7071 uses : aquasecurity/trivy-action@master
You can’t perform that action at this time.
0 commit comments