Skip to content

Mark 3.10 as minimum Python version. Fixes #295 #311

Mark 3.10 as minimum Python version. Fixes #295

Mark 3.10 as minimum Python version. Fixes #295 #311

Workflow file for this run

name: Docker build
on:
push:
branches:
- 'master'
tags:
- 'v*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
container: ubuntu:latest
steps:
- name: Install tooling
run: apt-get update && apt-get install -y git docker.io
env:
DEBIAN_FRONTEND: noninteractive
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: hif1/heisenbridge
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
hif1/heisenbridge:latest
${{ steps.meta.outputs.tags }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}