@@ -66,20 +66,20 @@ jobs:
6666
6767 - name : Build image locally
6868 run : |
69- docker build -f Dockerfile -t localhost:5000/jupyter-apis:${{ github.sha }} .
70- docker push localhost:5000/jupyter-apis:${{ github.sha }}
69+ docker build -f Dockerfile -t localhost:5000/jupyter-apis-aaw2 :${{ github.sha }} .
70+ docker push localhost:5000/jupyter-apis-aaw2 :${{ github.sha }}
7171 docker image prune
7272
7373 - name : Aqua Security Trivy image scan
7474 run : |
7575 curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin ${{ env.TRIVY_VERSION }}
76- trivy image localhost:5000/jupyter-apis:${{ github.sha }} --exit-code 1 --timeout=20m --security-checks vuln --severity CRITICAL
76+ trivy image localhost:5000/jupyter-apis-aaw2 :${{ github.sha }} --exit-code 1 --timeout=20m --security-checks vuln --severity CRITICAL
7777
7878 # Run Dockle
7979 - name : Run dockle
8080 uses : goodwithtech/dockle-action@main
8181 with :
82- image : localhost:5000/jupyter-apis:${{ github.sha }}
82+ image : localhost:5000/jupyter-apis-aaw2 :${{ github.sha }}
8383 format : ' list'
8484 exit-code : ' 0'
8585 exit-level : ' fatal'
@@ -89,13 +89,13 @@ jobs:
8989 - name : Push to ACR if necessary
9090 if : steps.should-i-push.outputs.boolean == 'true'
9191 run : |
92- docker pull localhost:5000/jupyter-apis:${{ github.sha }}
93- docker tag localhost:5000/jupyter-apis:${{ github.sha }} ${{ env.REGISTRY }}/jupyter-apis:${{ github.sha }}
94- docker push ${{ env.REGISTRY }}/jupyter-apis:${{ github.sha }}
92+ docker pull localhost:5000/jupyter-apis-aaw2 :${{ github.sha }}
93+ docker tag localhost:5000/jupyter-apis-aaw2 :${{ github.sha }} ${{ env.REGISTRY }}/jupyter-apis-aaw2 :${{ github.sha }}
94+ docker push ${{ env.REGISTRY }}/jupyter-apis-aaw2 :${{ github.sha }}
9595
9696 - name : Slack Notification
9797 if : failure() && github.event_name=='schedule'
9898 uses : act10ns/slack@v1
99- with :
99+ with :
100100 status : failure
101101 message : jupyter-apis build failed. https://github.com/StatCan/jupyter-apis/actions/runs/${{github.run_id}}
0 commit comments