mirror of
https://github.com/Yanyutin753/RefreshToV1Api.git
synced 2025-10-18 17:47:03 +00:00
[fix] 优化自动构建镜像的逻辑
This commit is contained in:
7
.github/workflows/docker-deploy.yml
vendored
7
.github/workflows/docker-deploy.yml
vendored
@@ -1,9 +1,3 @@
|
|||||||
name: Docker Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [created]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -32,3 +26,4 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
yourusername/yourrepo:${{ steps.tag_name.outputs.tag }}
|
yourusername/yourrepo:${{ steps.tag_name.outputs.tag }}
|
||||||
yourusername/yourrepo:latest
|
yourusername/yourrepo:latest
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
|
Reference in New Issue
Block a user