Skip to content

Remove Python 3.9 support (#705) #652

Remove Python 3.9 support (#705)

Remove Python 3.9 support (#705) #652

Workflow file for this run

name: build image
on:
push:
branches:
- master
release:
types:
- created
schedule:
- cron: '11 23 * * 2'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
install: true
- name: Builder instance name
run: echo ${{ steps.buildx.outputs.name }}
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push devel image
uses: docker/build-push-action@v6
with:
push: true
tags: |
dmstraub/gramps-webapi:latest-devel
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
- name: Build and push release image
if: github.event_name == 'release'
uses: docker/build-push-action@v5
with:
push: true
tags: |
dmstraub/gramps-webapi:${{ github.event.release.tag_name }}
dmstraub/gramps-webapi:latest
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false