Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Bump aiohttp from 3.8.5 to 3.9.0 #30

Bump aiohttp from 3.8.5 to 3.9.0

Bump aiohttp from 3.8.5 to 3.9.0 #30

Workflow file for this run

name: CI build
on:
push:
branches: ["**"]
pull_request:
branches: [develop, edge]
workflow_dispatch: {}
env:
DOCKER_IMAGE: ghcr.io/brewblox/brewblox-plaato
jobs:
build:
if: github.repository_owner == 'BrewBlox'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Get image metadata
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.DOCKER_IMAGE }}
- name: ghcr.io login
uses: docker/login-action@v2
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry wheel
poetry install
- name: Test
run: |
poetry run pytest
poetry run flake8
- name: Build
run: |
poetry run invoke build
- name: Build Docker image
uses: docker/build-push-action@v4
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
context: .