Skip to content

Update flake8 requirement from ~=7.0.0 to ~=7.1.0 #170

Update flake8 requirement from ~=7.0.0 to ~=7.1.0

Update flake8 requirement from ~=7.0.0 to ~=7.1.0 #170

Workflow file for this run

name: Docker
on:
push:
branches: [main]
tags: [v*.*.*]
pull_request:
env:
PLATFORMS: linux/amd64,linux/arm64
jobs:
build-push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# https://github.com/docker/login-action
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: docker.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
# https://github.com/docker/login-action
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
docker.io/${{ github.repository }}
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
flavor: |
latest=false
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
platforms: ${{ env.PLATFORMS }}
labels: |
${{ steps.meta.outputs.labels }}