watchdog-go: ci動作の条件を変更
/ build-docker-image (pull_request) Has been skipped
Details
/ build-docker-image (pull_request) Has been skipped
Details
This commit is contained in:
parent
b7955a2739
commit
034dc1f5b3
|
@ -1,6 +1,9 @@
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types:
|
||||||
|
- labeled
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
- closed
|
- closed
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
@ -15,7 +18,7 @@ jobs:
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./watchdog-go
|
working-directory: ./watchdog-go
|
||||||
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name,'watchdog-go')
|
if: contains(github.event.pull_request.labels.*.name,'watchdog-go')
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -31,4 +34,4 @@ jobs:
|
||||||
context: ./watchdog-go
|
context: ./watchdog-go
|
||||||
|
|
||||||
tags: git.usbharu.dev/usbharu/watchdog-go:latest,git.usbharu.dev/usbharu/watchdog-go:${{ github.sha }}
|
tags: git.usbharu.dev/usbharu/watchdog-go:latest,git.usbharu.dev/usbharu/watchdog-go:${{ github.sha }}
|
||||||
push: true
|
push: $${{ github.event.pull_request.merged == true }}
|
Loading…
Reference in New Issue