Skip to content

Instantly share code, notes, and snippets.

@ibrahimroshdy
ibrahimroshdy / docker-multi-arch.yml
Last active February 12, 2023 13:07
Github workflow runner for Docker Multi-Arch using QEMU, Buildx for amd64 & arm64
# Github workflow runner for Docker Multi-Arch using QEMU, Buildx for amd64 & arm64
name: Docker Multi-Arch
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
name: build for amd64/arm64
steps:
"""
A simple looping function with one python package requirement
"""
from tqdm import tqdm
def simple_loop_func(number):
"""
Using tqdm progress bar this function prints out the progress of the for loop
:param number: int digit to be the end of the for loop
"""
A simple looping function with one python package requirement
"""
from tqdm import tqdm
def simple_loop_func(number):
"""
Using tqdm progress bar this function prints out the progress of the for loop
:param number: int digit to be the end of the for loop
# Github workflow runner instructions using cutomized actions
name: Code Coverage [CodeCov]
on: [ push ]
jobs:
codecov:
runs-on: ubuntu-latest
name: CodeCov
steps:
# custom action to install packages and run simple loop scrript
name: 'Continuous Integration Custom Action'
description: 'Install required packages and run code'
inputs:
project_name: # Project name
description: 'project name for printing'
required: true
default: 'none'
# The action runs a composite set of instructions
# Github workflow runner instructions using cutomized actions
name: Continuous Integration
on: [ push ]
jobs:
runner_details:
runs-on: ubuntu-latest
name: Runner Details
steps: