Skip to content

chore(main): release 0.7.0 (#417) #15

chore(main): release 0.7.0 (#417)

chore(main): release 0.7.0 (#417) #15

Workflow file for this run

name: publish
on:
push:
tags:
- v*.*.*
jobs:
publish-pypi:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install secator
uses: ./.github/actions/install
with:
python-version: ${{ matrix.python-version }}
- name: Install secator build addon
run: secator install addons build
- name: Build PyPI package
run: secator u build pypi
- name: Publish PyPI package
run: secator u publish pypi
env:
HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}
publish-docker:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install secator
uses: ./.github/actions/install
with:
python-version: ${{ matrix.python-version }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Docker image
run: secator u build docker --latest
- name: Publish Docker image
run: secator u publish docker --latest