Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DucBaoUIT committed Dec 13, 2024
1 parent 18cc811 commit 2226f30
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ jobs:
- name: Unit Tests
run: mvn -B test --file pom.xml

# sonar-cloud-scan:
# needs: testing
# uses: ./.github/workflows/SonarQube.yaml
# secrets:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
sonar-cloud-scan:
needs: testing
uses: ./.github/workflows/SonarQube.yaml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

build-image:
needs: testing
uses: ./.github/workflows/build-image.yaml
secrets:
DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

# scan-image:
# needs: build-image
# uses: ./.github/workflows/scan-image.yaml
scan-image:
needs: build-image
uses: ./.github/workflows/scan-image.yaml

# notify:
# needs: scan-image
# uses: ./.github/workflows/notifyCI.yaml
# secrets:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
notify:
needs: scan-image
uses: ./.github/workflows/notifyCI.yaml
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 2226f30

Please sign in to comment.