Skip to content

Refactor CI/CD workflow to disable Azure Web Apps deployment and remove redundant SBOM upload step #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/SCA-Anchore-Syft-SBOM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ jobs:

- name: Scan the image and upload dependency results
uses: anchore/sbom-action@bb716408e75840bbb01e839347cd213767269d4a
continue-on-error: true
with:
image: "${{ env.imageName }}:${{ env.tag }}"
dependency-snapshot: true

- name: SBOM upload
uses: advanced-security/spdx-dependency-submission-action@v0.1.1
dependency-snapshot: true
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:

# Deploy to Azure Web apps
- name: 'Run Azure webapp deploy action using publish profile credentials'
if: false # This disables the action
uses: azure/webapps-deploy@v3
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }} # Replace with your app name
Expand All @@ -62,7 +63,6 @@ jobs:
docker push crdevsecopscldev.azurecr.io/webapp01:${{ github.sha }}

- name: Disabled Azure Web Apps Deploy
if: false # This disables the action
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
Expand Down
Loading