mirror of
https://github.com/cuteLittleDevil/m7s-jt1078.git
synced 2025-09-26 12:31:12 +08:00
github: action中docker打包的都使用5.7.x版本
This commit is contained in:
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -12,7 +12,7 @@ name: Publish Docker image
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v5.*.*"
|
||||
- "v5.7.*"
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
|
@@ -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 .
|
||||
|
Reference in New Issue
Block a user