Skip to content

Version 3.25.0

Version 3.25.0 #24

Workflow file for this run

name: release
on:
push:
tags: ["v3.*"]
jobs:
main:
uses: ./.github/workflows/main.yml
pypi:
runs-on: ubuntu-latest
needs: [main]
steps:
- uses: actions/checkout@v4
- name: Setup dev environment
uses: ./.github/actions/setup-python-dev
- run: poetry publish --build --username "${PYPI_USERNAME}" --password "${PYPI_PASSWORD}"
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
docker:
runs-on: ubuntu-latest
needs: [main]
steps:
- uses: actions/checkout@v4
- id: setup-dev
name: Setup dev environment
uses: ./.github/actions/setup-python-dev
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: adferrand/letsencrypt-dns:latest,adferrand/letsencrypt-dns:${{ steps.setup-dev.outputs.project-version }},adferrand/dnsrobocert:latest,adferrand/dnsrobocert:${{ steps.setup-dev.outputs.project-version }}
github-release:
runs-on: ubuntu-latest
needs: [pypi, docker]
steps:
- uses: actions/checkout@v4
- id: setup-dev
name: Setup dev environment
uses: ./.github/actions/setup-python-dev
- run: |
python utils/extract_changelog.py ${VERSION} > release_${VERSION}.md
env:
VERSION: ${{ steps.setup-dev.outputs.project-version }}
- uses: softprops/action-gh-release@v1
with:
name: DNSroboCert ${{ steps.setup-dev.outputs.project-version }}
body_path: release_${{ steps.setup-dev.outputs.project-version }}.md