Adjusting docker.yml triggers

This commit is contained in:
mengxin239 2024-07-20 19:16:09 +08:00
parent 81c068bad4
commit 1de718a5fc

View File

@ -1,19 +1,8 @@
name: Publish Docker image
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"
tags:
- 'v*'
pull_request:
branches:
- 'master'
release:
types:
- published
env:
REGISTRY: ghcr.io
IMAGE_NAME: xrayr-project/xrayr