Add Trivy scan workflow #10
This file contains hidden or 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: Github Actions 실행시켜보기 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| My-Deploy-Job: #작업의 아이디 | |
| runs-on: ubuntu-latest #작업이 실행될 러너 | |
| steps: #스텝 아래에는 -로 들여쓰기 해야 함. | |
| - name: Hello world 찍기 | |
| run: echo "Hello World" | |
| - name: 여러 명령어 문장 작성하기 | |
| run: | | |
| echo "Good" | |
| echo "Morning" | |
| - name: 깃허브에 저장되어있는 변수 출력 | |
| run: | | |
| echo $GITHUB_SHA | |
| echo $GITHUB_REPOSITORY |