From 63e939b358192e02cafa0045ee71cac380eb2f5a Mon Sep 17 00:00:00 2001 From: vorpax Date: Wed, 24 Dec 2025 12:13:01 +0100 Subject: [PATCH] action setup --- .gitea/workflows/build-publish.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/build-publish.yaml diff --git a/.gitea/workflows/build-publish.yaml b/.gitea/workflows/build-publish.yaml new file mode 100644 index 0000000..cfccf6e --- /dev/null +++ b/.gitea/workflows/build-publish.yaml @@ -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