File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,13 @@ jobs:
3232 uses : docker/setup-buildx-action@v1
3333
3434 - name : Log in to Azure Container Registry
35- if : ${{ inputs.push == true && (github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix') }}
35+ if : ${{ github.event_name == true && (github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix') }}
3636 uses : azure/docker-login@v2
3737 with :
3838 login-server : ${{ secrets.ACR_LOGIN_SERVER }}
3939 username : ${{ secrets.ACR_USERNAME }}
4040 password : ${{ secrets.ACR_PASSWORD }}
4141
42- - name : Debug inputs and refs
43- run : |
44- echo "inputs.push: ${{ inputs.push }}"
45- echo "github.ref_name: ${{ github.ref_name }}"
46- echo "github.event_name: ${{ github.event_name }}"
47-
48-
4942 - name : Set Docker image tag
5043 run : |
5144 if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
You can’t perform that action at this time.
0 commit comments