mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 00:16:06 +08:00
修复docker action
This commit is contained in:
parent
2fe8c38293
commit
1aaa0f0fa6
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
docker buildx build --build-arg SSH_PRIVATE_KEY="${SSH_PRIVATE_KEY}" --output "type=image,push=true" --platform=linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/s390x --tag whyour/qinglong:latest docker/
|
||||
|
||||
- name: Replace branch without `v`
|
||||
if: startsWith(github.ref, 'refs/heads/')
|
||||
if: startsWith(github.ref, 'refs/heads/') && github.ref != 'refs/heads/master'
|
||||
uses: actions/github-script@v1
|
||||
id: version
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue
Block a user