ci/cd reformats
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
2026-03-27 23:11:28 -04:00
parent 12125e8942
commit 99034ec926
8 changed files with 119 additions and 89 deletions

View File

@@ -0,0 +1,32 @@
name: Build
on:
push:
branches: [main]
env:
IMAGE: ${{ vars.REGISTRY_HOST }}/${{ gitea.repository_owner }}/catalyst
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to registry
uses: docker/login-action@v3
with:
registry: ${{ vars.REGISTRY_HOST }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ env.IMAGE }}:latest
${{ env.IMAGE }}:${{ gitea.sha }}