Skip to content

fix(Dockerfile): update deps; relock python-3.11 #22

fix(Dockerfile): update deps; relock python-3.11

fix(Dockerfile): update deps; relock python-3.11 #22

Workflow file for this run

name: "docker-build"
on:
workflow_dispatch:
push:
branches:
- "v2"
tags:
- "2.*"
pull_request:
branches:
- "v2"
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
env:
IMAGE_NAME: ${{ github.repository }}
steps:
- name: Log in to GitHub Packages
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repo
uses: actions/checkout@v3
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}