From 59fe6c4e405c1ffc3e95c88e02a90c2bf249933e Mon Sep 17 00:00:00 2001 From: Nadav Tasher <tashernadav@gmail.com> Date: Fri, 19 Jan 2024 16:16:11 +0200 Subject: [PATCH] Changed workflow file --- .github/workflows/build.yml | 54 ++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b35c7d1..56f555e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,34 +6,34 @@ on: - master jobs: - Build: - runs-on: ubuntu-latest - steps: - - name: Code setup - uses: actions/checkout@v3 - with: - submodules: recursive - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.NAME }} - password: ${{ secrets.TOKEN }} + Build: + runs-on: ubuntu-latest + steps: + - name: Code setup + uses: actions/checkout@v3 + with: + submodules: recursive + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.NAME }} + password: ${{ secrets.TOKEN }} - - name: Build and push - Python 2.7 - run: BASE_IMAGE=python:2.7-slim-buster IMAGE_TAG=2.7 make buildx + - name: Build and push - Python 2.7 + run: BASE_IMAGE=python:2.7-slim-buster IMAGE_TAG=2.7 make buildx - - name: Build and push - Python 3.7 - run: BASE_IMAGE=python:3.7-slim-bullseye IMAGE_TAG=3.7 make buildx + - name: Build and push - Python 3.7 + run: BASE_IMAGE=python:3.7-slim-bullseye IMAGE_TAG=3.7 make buildx - - name: Build and push - Python 3.8 - run: BASE_IMAGE=python:3.8-slim-bullseye IMAGE_TAG=3.8 make buildx + - name: Build and push - Python 3.8 + run: BASE_IMAGE=python:3.8-slim-bullseye IMAGE_TAG=3.8 make buildx - - name: Build and push - Python 3.10 - run: BASE_IMAGE=python:3.10-slim-bookworm IMAGE_TAG=3.10 make buildx \ No newline at end of file + - name: Build and push - Python 3.10 + run: BASE_IMAGE=python:3.10-slim-bookworm IMAGE_TAG=3.10 make buildx \ No newline at end of file