mirror of
https://github.com/v2rayA/v2rayA.git
synced 2024-11-25 16:34:19 +08:00
ci: fix Docker image tag uploading
This commit is contained in:
parent
180a655e49
commit
a0af4b1415
5
.github/workflows/release_main.yml
vendored
5
.github/workflows/release_main.yml
vendored
@ -764,14 +764,13 @@ jobs:
|
||||
- name: Check Version
|
||||
id: prep
|
||||
run: |
|
||||
tag=$(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
tag=${{ inputs.tag }}
|
||||
version=$(echo $tag | sed 's/v//g')
|
||||
echo "VERSION=$version" >> $GITHUB_OUTPUT
|
||||
echo "VERSION=$version" >> $GITHUB_ENV
|
||||
TAG=$(echo $GITHUB_REF | cut -d / -f 3)
|
||||
IMAGE="mzz2017/v2raya"
|
||||
echo image=${IMAGE} >> $GITHUB_OUTPUT
|
||||
echo tag=${TAG} >> $GITHUB_OUTPUT
|
||||
echo tag=${{ inputs.tag }} >> $GITHUB_OUTPUT
|
||||
sed -i "s|Realv2rayAVersion|$version|g" install/docker/docker_helper.sh
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user