Skip to content

Commit

Permalink
Changed workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
NadavTasher committed Jan 19, 2024
1 parent e91b8a1 commit 59fe6c4
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- name: Build and push - Python 3.10
run: BASE_IMAGE=python:3.10-slim-bookworm IMAGE_TAG=3.10 make buildx

0 comments on commit 59fe6c4

Please sign in to comment.