chore: lisa ci

This commit is contained in:
DarkSky
2022-08-04 15:52:13 +08:00
parent 02f081e7ae
commit a495ebb7a2
3 changed files with 2 additions and 1 deletions
@@ -7,7 +7,7 @@ RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store
FROM node:16-alpine as relocate FROM node:16-alpine as relocate
WORKDIR /app WORKDIR /app
COPY --from=builder /app/dist/apps/ligo-virgo ./dist COPY --from=builder /app/dist/apps/ligo-virgo ./dist
COPY --from=builder /app/Caddyfile ./ COPY --from=builder /app/.github/deployment/Caddyfile-lisa ./
RUN rm ./dist/*.txt RUN rm ./dist/*.txt
# ============= # =============
+1
View File
@@ -53,6 +53,7 @@ jobs:
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with: with:
context: . context: .
file: ./.github/deployment/Dockerfile-lisa
push: ${{ github.ref == 'refs/heads/master' && true || false }} push: ${{ github.ref == 'refs/heads/master' && true || false }}
tags: ${{ steps.meta_lisa.outputs.tags }} tags: ${{ steps.meta_lisa.outputs.tags }}
labels: ${{ steps.meta_lisa.outputs.labels }} labels: ${{ steps.meta_lisa.outputs.labels }}