From 7cad2bc64b6050821087db95e115a40a443cd394 Mon Sep 17 00:00:00 2001 From: jank Date: Wed, 10 Sep 2025 12:39:59 +0200 Subject: [PATCH] idk --- .dockerignore | 4 ++-- .forgejo/workflows/build.yml | 27 +++++++++------------------ 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/.dockerignore b/.dockerignore index 9b8d514..eee1a5f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,4 @@ .react-router -build + node_modules -README.md \ No newline at end of file +README.md diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 066dea8..47819ed 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -21,26 +21,17 @@ jobs: run: bun install - name: Build run: bun run build - - name: Archive production artifacts - uses: actions/upload-artifact@v3 + - name: Docker login + uses: docker/login-action@v1 with: - name: build-client - path: build/client - package: - name: Package - needs: build - runs-on: docker - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Download build artifacts - uses: actions/download-artifact@v3 - with: - name: build-client - path: build/client + registry: git.kjan.de + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_PASS }} - name: Build and push docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: ./Dockerfile - push: false + push: true + tags: | + git.kjan.de/templates/react