action setup

This commit is contained in:
vorpax
2025-12-24 12:13:01 +01:00
parent 07a0104e0c
commit 63e939b358

View File

@@ -0,0 +1,29 @@
name: Build and Push Quartz
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ github.server_url }}/${{ github.repository }}/quartz:${{ github.sha }}
${{ github.server_url }}/${{ github.repository }}/quartz:latest