From d742784f72a33aa68166d561b4d41147408f67a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=91=D0=B0?= =?UTF-8?q?=D0=B4=D1=8F=D0=B5=D0=B2?= Date: Tue, 8 Apr 2025 13:35:22 +0700 Subject: [PATCH] =?UTF-8?q?Workflow=20=D1=81=D1=82=D0=B0=D0=BB=20=D0=BF?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D0=BB=D0=BB=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B?= =?UTF-8?q?=D0=BC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/release.yaml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 4f5a427..91aa559 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -8,7 +8,7 @@ on: - main jobs: - release: + ubuntu-24_04: runs-on: ubuntu-latest steps: - name: check-out code @@ -98,6 +98,36 @@ jobs: git.mousesoft.ru/ms/gitea-runner-images:doc-ubuntu-24.04 git.mousesoft.ru/ms/gitea-runner-images:doc-ubuntu-latest + ubuntu-22_04: + runs-on: ubuntu-latest + steps: + - name: check-out code + uses: actions/checkout@v4 + with: + lfs: true + + - name: set-up qemu + uses: https://git.mousesoft.ru/ms/gitea-action-setup-qemu@v3.6.0 + + - name: set-up docker buildx + uses: https://git.mousesoft.ru/ms/gitea-action-docker-setup-buildx@v3.10.0 + with: + buildkitd-flags: --debug + + - name: login to docker hub + uses: https://git.mousesoft.ru/ms/gitea-action-docker-login@v3 + with: + registry: git.mousesoft.ru + username: ${{ secrets.API_USER }} + password: ${{ secrets.API_TOKEN }} + + - name: get meta + id: meta + run: | + echo IMAGE_CREATED=$(date -u +'%Y-%m-%dT%H:%M:%SZ') | tee -a $GITHUB_OUTPUT + echo IMAGE_VERSION=$(date -u +'v%y.%m.%d') | tee -a $GITHUB_OUTPUT + echo IMAGE_REVISION=$(git rev-parse HEAD) | tee -a $GITHUB_OUTPUT + - name: build and push base 22.04 uses: https://git.mousesoft.ru/ms/gitea-action-docker-build-push@v6.15.0 with: