Someone told me to do this
This commit is contained in:
parent
8da5cc7970
commit
5023fc631f
@ -61,6 +61,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIV_KEY }}
|
ssh-private-key: ${{ secrets.SSH_PRIV_KEY }}
|
||||||
|
|
||||||
|
- name: agentttest
|
||||||
|
run: ssh-add -l
|
||||||
|
|
||||||
- name: Login to registry
|
- name: Login to registry
|
||||||
run: ssh ${{ vars.TARGET_USER }}@${{ vars.TARGET }} -o StrictHostKeyChecking=no "docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} ${{ vars.REGISTRY }}"
|
run: ssh ${{ vars.TARGET_USER }}@${{ vars.TARGET }} -o StrictHostKeyChecking=no "docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} ${{ vars.REGISTRY }}"
|
||||||
- name: Pull new image
|
- name: Pull new image
|
||||||
|
@ -14,7 +14,7 @@ COPY tsconfig.json tsconfig.json
|
|||||||
COPY components.json components.json
|
COPY components.json components.json
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM node:lts-slim as prod
|
FROM node:lts-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN corepack enable pnpm
|
RUN corepack enable pnpm
|
||||||
|
Loading…
Reference in New Issue
Block a user