From 87e0f33be0450555227339ce2f302e9ed8a01683 Mon Sep 17 00:00:00 2001 From: Tobias Klemp Date: Mon, 29 Dec 2025 16:45:57 +0100 Subject: [PATCH] try docker build --- .gitea/workflows/ci.yml | 27 ++++++++++++++------------- tsconfig.json | 4 ++-- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ca0ea7e..ce8c73f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -41,23 +41,24 @@ jobs: build-docker-image: runs-on: ubuntu-latest steps: - - name: Update package list - run: sudo apt-get update - - - name: Setup Podman - run: sudo apt-get -y install podman - - - name: verify Podman installation - run: podman -v - - name: Checkout code uses: actions/checkout@v4 - - name: Login to Docker registry - run: podman login --tls-verify=false gitea:3000 --username ${{ github.actor }} --password ${{ secrets.REGISTRY_ACCESS_TOKEN }} + - name: Set up Docker Build + uses: docker/setup-buildx-action@v3 - - name: Build image - run: podman build . + - name: Log in to registry + uses: docker/login-action@v3 + with: + registry: ${{ vars.INSTANCE_URL }} + username: ${{ github.actor }} + password: ${{ secrets.REGISTRY_ACCESS_TOKEN }} + + - name: Build and push image + uses: docker/build-push-action@v6 + with: + push: true + tags: ${{ github.repository }}:${{ github.ref }} # type-check: # runs-on: ubuntu-latest diff --git a/tsconfig.json b/tsconfig.json index e3898cb..06e53af 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,8 +9,8 @@ "skipLibCheck": true, "sourceMap": true, "strict": true, - "moduleResolution": "bundler" - } + "moduleResolution": "bundler", + }, // Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias // except $lib which is handled by https://svelte.dev/docs/kit/configuration#files //