File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 6868
6969 steps:
7070 - name: Login to Docker Hub
71- uses: docker/login-action@v2
71+ uses: docker/login-action@v3
7272 with:
7373 username: ${{ secrets.DOCKERHUB_SB_USERNAME }}
7474 password: ${{ secrets.DOCKERHUB_SB_PASSWORD }}
8282 WIZ_CLIENT_ID: ${{ secrets.WIZ_CLIENT_ID }}
8383 WIZ_CLIENT_SECRET: ${{ secrets.WIZ_CLIENT_SECRET }}
8484
85- - name: Pull Docker image for scanning
86- run: docker pull swaggerapi/swagger-codegen-cli:latest
85+ - name: Checkout code
86+ uses: actions/checkout@v3
87+
88+ - name: Set up Docker Buildx
89+ uses: docker/setup-buildx-action@v3
90+
91+ - name: Build Docker image
92+ run: |
93+ docker build --load -t swaggerapi/swagger-codegen-cli:latest .
8794
8895 - name: Run wiz-cli docker image scan
8996 run: |
You can’t perform that action at this time.
0 commit comments