Add Gitea Actions workflow
Some checks failed
Build and Push / build (push) Has been cancelled

This commit is contained in:
Refosel
2026-03-28 00:36:42 +03:00
parent 659330c6a5
commit 6f434b622a

31
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Build and Push
on:
push:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: docker-runner
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: gitea.refoseltw.ru
username: refoseldev
password: ${{ secrets.GITEA_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: ./games/source
push: true
tags: gitea.refoseltw.ru/rtw/games:source