1
0
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2025-07-01 20:09:23 +00:00

Update Docker publish workflow to trigger on version tags matching "v*" and add a step to display generated image tags, improving visibility in the build process.

This commit is contained in:
SunWuyuan 2025-05-25 09:03:43 +08:00
parent 32782b7db1
commit e0bb8389a6
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64

View File

@ -3,7 +3,7 @@ name: Docker Build and Push
on:
push:
branches: ["main"]
tags: ["v*.*.*"]
tags: ["v*"]
pull_request:
branches: ["main"]
workflow_dispatch:
@ -23,7 +23,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Show generated image tags
run: echo "${{ inputs.tags }}"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3