More docker tags

This commit is contained in:
mmmray 2024-06-23 13:06:22 +02:00 committed by yuhan6665
parent eb4f9429e6
commit 74d233dd64

View file

@ -1,6 +1,8 @@
name: Build docker image name: Build docker image
on: on:
release:
types: [published]
push: push:
branches: branches:
- main - main
@ -19,6 +21,7 @@ jobs:
images: ghcr.io/${{ github.repository_owner }}/xray-core images: ghcr.io/${{ github.repository_owner }}/xray-core
flavor: latest=true flavor: latest=true
tags: | tags: |
type=sha
type=ref,event=branch type=ref,event=branch
type=ref,event=pr type=ref,event=pr
type=semver,pattern={{version}} type=semver,pattern={{version}}