ci : only run docker jobs when pushed to master [no ci] (#3828)
This commit is contained in:
parent
ee540bf0be
commit
6dcdd65364
|
|
@ -1,7 +1,6 @@
|
|||
name: Publish Docker image
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
|
@ -9,7 +8,6 @@ on:
|
|||
jobs:
|
||||
push_to_registry:
|
||||
name: Push Docker image to Docker Hub
|
||||
if: github.event.pull_request.draft == false
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in New Issue