From 81df865dde650b6e256fb91c025175bad2ace1d9 Mon Sep 17 00:00:00 2001 From: Bruno Pacheco Date: Tue, 30 Jan 2024 12:00:00 +0100 Subject: [PATCH] fix: Rename default branch to main --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25eebfcb..14042454 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: Publish and Deploy main on: push: - branches: ['user-portal-main'] + branches: ['main'] workflow_dispatch: env: @@ -49,7 +49,7 @@ jobs: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master with: - image-ref: "${{ env.IMAGE_NAME }}:user-portal-main" + image-ref: "${{ env.IMAGE_NAME }}:main" format: "table" exit-code: "1" ignore-unfixed: true @@ -97,4 +97,4 @@ jobs: with: app-name: ${{ env.AZURE_WEBAPP_NAME }} publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} - images: '${{ env.IMAGE_NAME }}:user-portal-main' + images: '${{ env.IMAGE_NAME }}:main'