Skip to content

Commit

Permalink
Update docker-build-and-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavan-Microsoft authored Jan 27, 2025
1 parent 56360f2 commit 0a2da91
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: Build and Push Docker Image

on:
push:
branches: [main, dev, demo]
pull_request:
branches: [main, dev, demo]
types:
- opened
- ready_for_review
- reopened
- synchronize
branches:
- main
- dev
- demo
workflow_dispatch: # Add this line to enable manual triggering
merge_group:

jobs:
build-and-push:
Expand Down Expand Up @@ -61,4 +60,3 @@ jobs:
tags: |
${{ steps.registry.outputs.registry }}/webapp:${{ steps.determine_tag.outputs.tagname }}
${{ steps.registry.outputs.registry }}/webapp:${{ steps.determine_tag.outputs.tagname }}_${{ steps.date.outputs.date }}_${{ github.run_number }}

0 comments on commit 0a2da91

Please sign in to comment.