From 35a9ab83c4a1a82cbba20185904e126f822c6bb4 Mon Sep 17 00:00:00 2001 From: Eugene Morozov Date: Sat, 20 Jul 2024 16:45:40 +0300 Subject: [PATCH] Fixed building #2 --- .gitea/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 5af14592..73132f42 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -10,14 +10,19 @@ on: jobs: build-and-deploy-image: runs-on: linux_amd + name: Unit with Python ${{ matrix.python-version }} + container: image: catthehacker/ubuntu:act-latest + env: DOCKER_ORG: technocloud-public RUNNER_TOOL_CACHE: /toolcache + strategy: matrix: python-version: ['3.10', '3.11', '3.12'] + steps: - name: Checkout uses: actions/checkout@v4 @@ -44,7 +49,7 @@ jobs: run: | echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - - name: Build and push Python ${{ matrix.python-version }} + - name: Build and Push uses: docker/build-push-action@v5 with: context: .