chore: 调整github action

pull/81/head v0.0.2
moonrailgun 3 years ago
parent f805261726
commit 025e62a1a5

@ -16,8 +16,7 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: Get version
id: get_version
# run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
run: echo ::set-output name=VERSION::${github.ref} # 支持手动触发
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Login to DockerHub
uses: docker/login-action@v1
with:

Loading…
Cancel
Save