From 5b1a15afcf4aa1fe478ccba3f90e86378adf742b Mon Sep 17 00:00:00 2001 From: r3drun3 Date: Wed, 10 Jan 2024 16:58:41 +0100 Subject: [PATCH] ci: test Signed-off-by: r3drun3 --- .github/workflows/patch.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/patch.yaml b/.github/workflows/patch.yaml index 030d7c2..f4db957 100644 --- a/.github/workflows/patch.yaml +++ b/.github/workflows/patch.yaml @@ -16,7 +16,6 @@ jobs: # provide relevant list of images to scan on each run images: ['docker.io/library/nginx:1.21.6', 'docker.io/openpolicyagent/opa:0.46.0'] - steps: - name: Checkout Repository @@ -75,6 +74,22 @@ jobs: run: | docker push ghcr.io/r3drun3/immunize/${{ steps.copa.outputs.patched-image }} + # - name: Check GitHub Workspace Contents + # run: | + # ls -R $GITHUB_WORKSPACE + # shell: bash + + # - name: Send Mail Report + # if: steps.login.conclusion == 'success' + # run: | + # PATCHED_IMAGES=${{ steps.copa.outputs.patched-image }} + # echo "PATCHED_IMAGES=${PATCHED_IMAGES}" >> $GITHUB_ENV + # python $GITHUB_WORKSPACE/send_mail_report.py + # env: + # EMAIL_RECIPIENTS: ${{ secrets.EMAIL_RECIPIENTS }} + # EMAIL_ADDRESS: ${{ secrets.EMAIL_ADDRESS }} + # EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }} + send-mail-report: runs-on: ubuntu-latest