Skip to content

build: support Poetry for depencencies tool in api's Dockerfile #2

build: support Poetry for depencencies tool in api's Dockerfile

build: support Poetry for depencencies tool in api's Dockerfile #2

Workflow file for this run

name: API Docker
on:
pull_request:
branches:
- main
paths:
- api/**
- docker/**
concurrency:
group: api-docker-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
api-docker:
runs-on: ubuntu-latest
strategy:
matrix:
platforms:
- linux/amd64
- linux/arm64
# defaults:
# run:
# working-directory: ./api
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
push: false
context: ./api
file: poetry.Dockerfile
platforms: ${{ matrix.platforms }}