build: reorder CI/CD
Some checks failed
TrafficCue Server CD / build (push) Has been cancelled
TrafficCue Server CI / check (push) Has been cancelled

This commit is contained in:
2025-09-06 12:52:08 +02:00
parent 71b750fa5e
commit 79339e311c
2 changed files with 0 additions and 0 deletions

26
.gitea/workflows/2-cd.yml Normal file
View File

@ -0,0 +1,26 @@
name: TrafficCue Server CD
on:
push:
branches:
- main
- staging
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: ${{ vars.registry_url }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v2
- name: Build image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ vars.registry_url }}/trafficcue/trafficcue-server:${{ gitea.ref_name == 'main' && 'latest' || gitea.ref_name }}
platforms: linux/amd64