Skip to content

starting the project #1

starting the project

starting the project #1

Workflow file for this run

name: Build and publish Docker image
on:
push:
paths:
- 'Docker/**'
permissions:
contents: read
packages: write
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Python-based image
uses: docker/build-push-action@v4
with:
context: ./docker/
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository }}:latest
build-args: |
PYTHON_VERSION=3.10