diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index ded5493..81fffb9 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -20,10 +20,9 @@ jobs: uses: docker/build-push-action@v2 with: context: . - file: ./Dockerfile + file: ./apps/frontend/Dockerfile platforms: linux/amd64,linux/arm64 push: true - target: frontend tags: | git.kakio.us/kakious/authcore-frontend:latest git.kakio.us/kakious/authcore-frontend:${{ github.sha }} @@ -32,10 +31,9 @@ jobs: uses: docker/build-push-action@v2 with: context: . - file: ./Dockerfile + file: ./apps/backend/Dockerfile platforms: linux/amd64,linux/arm64 push: true - target: backend tags: | git.kakio.us/kakious/authcore-backend:latest git.kakio.us/kakious/authcore-backend:${{ github.sha }} diff --git a/apps/frontend/Dockerfile b/apps/frontend/Dockerfile index ebefc5c..c4b6bd6 100644 --- a/apps/frontend/Dockerfile +++ b/apps/frontend/Dockerfile @@ -31,7 +31,7 @@ COPY --from=deps /app/node_modules ./node_modules # Next.js collects completely anonymous telemetry data about general usage. # Learn more here: https://nextjs.org/telemetry # Uncomment the following line in case you want to disable telemetry during the build. -# ENV NEXT_TELEMETRY_DISABLED=1 +ENV NEXT_TELEMETRY_DISABLED=1 RUN \ if [ -f yarn.lock ]; then yarn run build; \ @@ -46,7 +46,7 @@ WORKDIR /app ENV NODE_ENV=production # Uncomment the following line in case you want to disable telemetry during runtime. -# ENV NEXT_TELEMETRY_DISABLED=1 +ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs