From c75e92427f20e794adad47b25f28820a15aad8e2 Mon Sep 17 00:00:00 2001 From: Alie Date: Sun, 7 Jan 2024 14:32:12 +0100 Subject: [PATCH] seems to work on the host but fails on the next step so i fixed that one --- .gitea/workflows/build.yaml | 6 +++++- Dockerfile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1bc106c..a8c3b75 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -60,7 +60,11 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Login to fai.st docker registry - run: docker login git.fai.st -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} + uses: docker/login-action@v2 + with: + registry: git.fai.st + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_PASS }} - name: Build and push uses: docker/build-push-action@v4 with: diff --git a/Dockerfile b/Dockerfile index 2314c7c..cb090b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ FROM base AS install # install with --production (exclude devDependencies) RUN mkdir -p /temp/prod -COPY package.json bun.lockb /temp/prod/ +COPY package.json yarn.lock /temp/prod/ RUN cd /temp/prod && bun install --production # Copy production dependencies and source code into final image