github: action中docker打包的都使用5.7.x版本

This commit is contained in:
CDCDDCDC
2025-06-18 15:15:26 +08:00
parent 0e81a2b947
commit 7e6ca77d7a
3 changed files with 4 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ name: Publish Docker image
on:
push:
tags:
- "v5.*.*"
- "v5.7.*"
jobs:
push_to_registry:

View File

@@ -7,9 +7,8 @@ FROM alpine:latest
WORKDIR /app
RUN apk add --no-cache ca-certificates && update-ca-certificates
# github action中curl下载的
COPY --from=builder /app/example/jt1078/ /tmp/
RUN if [ -f /tmp/admin.zip ]; then cp /tmp/admin.zip .; fi
COPY --from=builder /app/example/jt1078/admin.zip /tmp/
RUN if [ -f /tmp/admin.zip ]; then cp /tmp/admin.zip . && rm -rf /tmp/*; fi
COPY --from=builder /app/example/testdata/data.txt .
COPY --from=builder /app/example/testdata/audio_data.txt .
COPY --from=builder /app/example/jt1078/jt1078 .

2
doc.go
View File

@@ -1,3 +1,3 @@
package m7s_jt1078
// 不增加这个文件 pkg.go.dev 网页不能更新 https://github.com/golang/go/issues/70865
// 不增加这个文件 pkg.go.dev 网页不能更新 https://github.com/golang/go/issues/70865