From 6d460f4263086adbb1d66fdddf31ec8256a7bf3c Mon Sep 17 00:00:00 2001 From: Anthony Axenov Date: Sat, 22 Nov 2025 22:34:15 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B0=D0=B9=D0=BF=D0=BB=D0=B0=D0=B9?= =?UTF-8?q?=D0=BD=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BD=D1=82=D0=B5=D0=B9=D0=BD=D0=B5=D1=80=D0=B0=20=D1=81=20?= =?UTF-8?q?=D0=B3=D0=BE=D1=82=D0=BE=D0=B2=D0=BE=D0=B9=20=D0=B4=D0=BE=D0=BA?= =?UTF-8?q?=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=86=D0=B8=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..6cded1a --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,44 @@ +# https://docs.gitea.com/usage/actions/overview +# https://docs.github.com/ru/actions/reference/workflows-and-actions/contexts + +name: Build images + +on: + push: + branches: + - 'master' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: # https://github.com/actions/checkout + fetch-depth: 0 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: # https://github.com/docker/setup-buildx-action + buildkitd-config-inline: | + # https://github.com/moby/buildkit/blob/master/docs/buildkitd.toml.md + [ registry."docker.io" ] + mirrors = ["https://dockerhub.timeweb.cloud", "https://dh-mirror.gitverse.ru"] + http = true + insecure = true + + - name: Log in to Gitea Container Registry + uses: docker/login-action@v3 + with: # https://github.com/docker/login-action + registry: git.axenov.dev + username: ${{ secrets.USERNAME }} + password: ${{ secrets.RELEASE_TOKEN }} + + - name: Build and push Docker images + uses: docker/build-push-action@v5 + with: # https://github.com/docker/build-push-action + context: . + push: true + tags: | + git.axenov.dev/iptv/m3u-su-docs:${{ github.ref_name }} + git.axenov.dev/iptv/m3u-su-docs:latest