Skip to content

Commit

Permalink
-tests scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
holomekc committed Dec 27, 2023
1 parent 1218158 commit df27023
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
result: ${{ steps.trivy-result.outputs.result }}
version: ${{ steps.last_release.outputs.id }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
if: ${{ needs.scan.outputs.result == 0 }}
uses: ./.github/workflows/docker-release.yml
with:
version: 3.3.1.4
version: ${{ needs.scan.outputs.version == 0 }}
secrets:
dockerUsername: ${{ secrets.DOCKERHUB_USERNAME }}
dockerToken: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit df27023

Please sign in to comment.