From 6f434b622a75234aae444f87f8d4a1ea22d95956 Mon Sep 17 00:00:00 2001 From: Refosel Date: Sat, 28 Mar 2026 00:36:42 +0300 Subject: [PATCH] Add Gitea Actions workflow --- .github/workflows/build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a6a6ec9 --- /dev/null +++ b/.github/workflows/build.yml @@ -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