There was an error while loading. Please reload this page.
1 parent 5c13213 commit 6e0c491Copy full SHA for 6e0c491
1 file changed
.github/workflows/build.yml
@@ -12,6 +12,13 @@ on:
12
branches:
13
- master
14
- develop
15
+ workflow_dispatch:
16
+ inputs:
17
+ push_docker:
18
+ description: 'Build and push Docker image'
19
+ required: false
20
+ type: boolean
21
+ default: true
22
23
env:
24
DOTNET_VERSION: '8.0.x'
@@ -88,8 +95,9 @@ jobs:
88
95
build-docker:
89
96
name: Build and Push Docker Image
90
97
runs-on: ubuntu-latest
91
- needs: build-windows
92
- if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop') && github.event_name == 'push'
98
+ if: |
99
+ github.event_name == 'workflow_dispatch' ||
100
+ (github.ref == 'refs/heads/master' && github.event_name == 'push')
93
101
permissions:
94
102
contents: read
103
packages: write
0 commit comments