mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
update: workflows 配置更新
This commit is contained in:
parent
4ad08e0222
commit
9c9a439bc3
4
.github/workflows/Build_Image.yml
vendored
4
.github/workflows/Build_Image.yml
vendored
@ -16,13 +16,13 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Get version
|
||||
id: get_version
|
||||
if: startsWith(github.ref, 'refs/tags/') && startsWith(github.repository, 'Binaryify/NeteaseCloudMusicApi')
|
||||
if: startsWith(github.ref, 'refs/tags/') && startsWith(github.repository, 'Binaryify/ncm')
|
||||
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Build and publish image
|
||||
uses: elgohr/Publish-Docker-Github-Action@v5
|
||||
if: startsWith(github.ref, 'refs/tags/') && startsWith(github.repository, 'Binaryify/NeteaseCloudMusicApi')
|
||||
if: startsWith(github.ref, 'refs/tags/') && startsWith(github.repository, 'Binaryify/ncm')
|
||||
with:
|
||||
name: binaryify/netease_cloud_music_api # dockerid/imageName
|
||||
platforms: linux/arm64,linux/amd64 # 你准备构建的镜像平台
|
||||
|
Loading…
x
Reference in New Issue
Block a user