Fixed building #2
All checks were successful
Build Docker Image / Unit with Python ${{ matrix.python-version }} (3.10) (push) Successful in 38m53s
Build Docker Image / Unit with Python ${{ matrix.python-version }} (3.11) (push) Successful in 39m0s
Build Docker Image / Unit with Python ${{ matrix.python-version }} (3.12) (push) Successful in 31m5s

This commit is contained in:
2024-07-20 16:45:40 +03:00
parent bf711a5f12
commit 35a9ab83c4

View File

@@ -10,14 +10,19 @@ on:
jobs: jobs:
build-and-deploy-image: build-and-deploy-image:
runs-on: linux_amd runs-on: linux_amd
name: Unit with Python ${{ matrix.python-version }}
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
env: env:
DOCKER_ORG: technocloud-public DOCKER_ORG: technocloud-public
RUNNER_TOOL_CACHE: /toolcache RUNNER_TOOL_CACHE: /toolcache
strategy: strategy:
matrix: matrix:
python-version: ['3.10', '3.11', '3.12'] python-version: ['3.10', '3.11', '3.12']
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -44,7 +49,7 @@ jobs:
run: | run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT 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 uses: docker/build-push-action@v5
with: with:
context: . context: .