mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
ci: docker
This commit is contained in:
parent
3b4b85bc42
commit
4f8f50f90b
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -31,4 +31,4 @@ jobs:
|
||||
with:
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKERHUB_REPO }}
|
||||
platforms: "linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6,linux/riscv64"
|
||||
platforms: "linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM --platform=$BUILDPLATFORM node:lts-alpine
|
||||
FROM node:lts-alpine
|
||||
|
||||
LABEL author="shanmite" version="1.1" description="自动参与B站动态抽奖"
|
||||
|
||||
@ -12,4 +12,4 @@ COPY ["main.js", "./"]
|
||||
COPY ["lib/", "lib/"]
|
||||
|
||||
ENTRYPOINT ["npm", "run"]
|
||||
CMD ["start"]
|
||||
CMD ["start"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user