From a495ebb7a25d611ba4b1c446151ce0e03ee5af9e Mon Sep 17 00:00:00 2001 From: DarkSky Date: Thu, 4 Aug 2022 15:52:13 +0800 Subject: [PATCH] chore: lisa ci --- Caddyfile => .github/deployment/Caddyfile-lisa | 0 Dockerfile => .github/deployment/Dockerfile-lisa | 2 +- .github/workflows/lisa.yml | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename Caddyfile => .github/deployment/Caddyfile-lisa (100%) rename Dockerfile => .github/deployment/Dockerfile-lisa (88%) diff --git a/Caddyfile b/.github/deployment/Caddyfile-lisa similarity index 100% rename from Caddyfile rename to .github/deployment/Caddyfile-lisa diff --git a/Dockerfile b/.github/deployment/Dockerfile-lisa similarity index 88% rename from Dockerfile rename to .github/deployment/Dockerfile-lisa index f6e2249faf..8541853747 100644 --- a/Dockerfile +++ b/.github/deployment/Dockerfile-lisa @@ -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 WORKDIR /app 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 # ============= diff --git a/.github/workflows/lisa.yml b/.github/workflows/lisa.yml index 878fad6274..ead4c8fff2 100644 --- a/.github/workflows/lisa.yml +++ b/.github/workflows/lisa.yml @@ -53,6 +53,7 @@ jobs: uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . + file: ./.github/deployment/Dockerfile-lisa push: ${{ github.ref == 'refs/heads/master' && true || false }} tags: ${{ steps.meta_lisa.outputs.tags }} labels: ${{ steps.meta_lisa.outputs.labels }}