diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 85205b3..2e67e63 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -15,21 +15,6 @@ jobs: - name: Check out code uses: actions/checkout@v3 - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '20' - - - name: Install pnpm - run: npm install -g pnpm - - - name: Download dependencies to cache - run: | - mkdir -p /opt/hostedtoolcache/${{ gitea.repository }}-${{ gitea.ref_name }}/pnpm/ - pnpm fetch --prod --lockfile-dir=apps/api --store-dir /opt/hostedtoolcache/${{ gitea.repository }}-${{ gitea.ref_name }}/pnpm/ - mkdir -p ${{ gitea.workspace }}/cache - cp -r /opt/hostedtoolcache/${{ gitea.repository }}-${{ gitea.ref_name }}/pnpm/* ${{ gitea.workspace }}/cache/ - - name: Set up Docker uses: docker/setup-buildx-action@v3 @@ -43,7 +28,7 @@ jobs: uses: docker/metadata-action@v5 id: meta with: - images: vontainment/v-gpt-node-app + images: vontainment/v-firecrawl flavor: latest=false tags: | type=raw,value=main,enable=${{ gitea.ref == 'refs/heads/main' }} @@ -58,8 +43,6 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - build-args: | - PNPM_CACHE=${{ gitea.workspace }}/cache cache-from: type=local,src=/opt/hostedtoolcache/${{ gitea.repository }}-${{ gitea.ref_name }}/build/ cache-to: type=local,dest=/opt/hostedtoolcache/${{ gitea.repository }}-${{ gitea.ref_name }}/build-new/