|
28 | 28 | run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT |
29 | 29 |
|
30 | 30 | - name: Log in to Azure Container Registry |
31 | | - if: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix' }} |
| 31 | + if: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix' || github.ref_name == 'dependabotchanges' }} |
32 | 32 | uses: azure/docker-login@v2 |
33 | 33 | with: |
34 | 34 | login-server: ${{ env.ACR_LOGIN_SERVER }} |
|
54 | 54 | BASE_TAG="demo" |
55 | 55 | elif [[ "$BRANCH" == "hotfix" ]]; then |
56 | 56 | BASE_TAG="hotfix" |
| 57 | + elif [[ "$BRANCH" == "dependabotchanges" ]]; then |
| 58 | + BASE_TAG="dependabotchanges" |
| 59 | + |
57 | 60 | else |
58 | 61 | BASE_TAG="pullrequest-ignore" |
59 | 62 | fi |
|
67 | 70 | with: |
68 | 71 | context: ./src/ContentProcessor |
69 | 72 | file: ./src/ContentProcessor/Dockerfile |
70 | | - push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix' }} |
| 73 | + push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix'|| github.ref_name == 'dependabotchanges' }} |
71 | 74 | tags: | |
72 | 75 | ${{ steps.registry.outputs.ext_registry }}/contentprocessor:${{ env.BASE_TAG }} |
73 | 76 | ${{ steps.registry.outputs.ext_registry }}/contentprocessor:${{ env.DATE_TAG }} |
|
77 | 80 | with: |
78 | 81 | context: ./src/ContentProcessorAPI |
79 | 82 | file: ./src/ContentProcessorAPI/Dockerfile |
80 | | - push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix' }} |
| 83 | + push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix'|| github.ref_name == 'dependabotchanges' }} |
81 | 84 | tags: | |
82 | 85 | ${{ steps.registry.outputs.ext_registry }}/contentprocessorapi:${{ env.BASE_TAG }} |
83 | 86 | ${{ steps.registry.outputs.ext_registry }}/contentprocessorapi:${{ env.DATE_TAG }} |
|
87 | 90 | with: |
88 | 91 | context: ./src/ContentProcessorWeb |
89 | 92 | file: ./src/ContentProcessorWeb/Dockerfile |
90 | | - push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix' }} |
| 93 | + push: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix'|| github.ref_name == 'dependabotchanges' }} |
91 | 94 | tags: | |
92 | 95 | ${{ steps.registry.outputs.ext_registry }}/contentprocessorweb:${{ env.BASE_TAG }} |
93 | 96 | ${{ steps.registry.outputs.ext_registry }}/contentprocessorweb:${{ env.DATE_TAG }} |
0 commit comments