From 43cf6cb91bda3ad638caf32711c611fa2fc48bf6 Mon Sep 17 00:00:00 2001 From: Jannik Date: Fri, 5 Sep 2025 17:19:21 +0200 Subject: [PATCH] build: add docker CI --- .gitea/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 663ddc7..fc08dfc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,3 +14,21 @@ jobs: - run: bun test env: DATABASE_URL: ${{ secrets.DATABASE_URL }} + build: + runs-on: ubuntu-latest + steps: + - name: Login to Registry + uses: docker/login-action@v2 + with: + registry: {{ registry_url }} + username: {{ secrets.DOCKER_USERNAME }} + password: {{ secrets.DOCKER_TOKEN }} + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v2 + - name: Build image + uses: docker/build-push-action@v4.2.1 + with: + context: . + push: true + tags: {{ registry_url }}trafficcue/trafficcue-server:latest + platforms: linux/amd64 \ No newline at end of file