mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 07:16:08 +08:00
测试版本号action
This commit is contained in:
parent
bbb1fc4e1b
commit
105073ec23
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
if: "contains(github.event.head_commit.message, 'docker')"
|
||||
if: "contains(github.event.head_commit.message, '版本号')"
|
||||
steps:
|
||||
- name: Checkout base
|
||||
uses: actions/checkout@v2
|
||||
|
@ -34,6 +34,6 @@ jobs:
|
|||
- name: Docker buildx image and push on master branch
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: "contains(github.event.head_commit.message, '版本号')"
|
||||
run: |
|
||||
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/
|
||||
|
|
Loading…
Reference in New Issue
Block a user