Scan Container Image #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scan Container Image | |
on: | |
workflow_dispatch: | |
env: | |
TMAS_API_KEY: ${{ secrets.TMAS_API_KEY }} | |
jobs: | |
publish: | |
name: Scan Container Image | |
runs-on: ubuntu-latest | |
env: | |
IMAGE_NAME: "ghcr.io/felipecosta09/cve-2024-3094" | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install TMAS | |
run: sudo curl -s -L https://gist.githubusercontent.com/felipecosta09/a3d0cf68f4e85fc53bd6d295c1bb2c5b/raw/fafd525ef1bccfe7a460ec29e5f6d8aca397448a/tmas_install.sh | sudo bash | |
- name: Run the Script | |
run: | | |
echo alpine | bash cve2024-3094.sh | |
- name: Deploy to Prod? | |
run: echo "Deploying to Prod" |