Skip to content

Commit 7073d09

Browse files
committed
Only build Docker images on GitHub Release
1 parent 680172e commit 7073d09

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
- master
1010
release:
1111
types: [published]
12-
workflow_dispatch:
1312

1413
env:
1514
REGISTRY: ghcr.io
@@ -35,7 +34,7 @@ jobs:
3534

3635
docker:
3736
needs: test
38-
if: github.event_name != 'pull_request'
37+
if: github.event_name == 'release'
3938
runs-on: ubuntu-latest
4039
permissions:
4140
contents: read

0 commit comments

Comments
 (0)