Skip to content

Merge pull request #46 from homeylab/44-export-is-unstable #4

Merge pull request #46 from homeylab/44-export-is-unstable

Merge pull request #46 from homeylab/44-export-is-unstable #4

Workflow file for this run

---
name: Create Official Release and Push Artifacts
on:
push:
tags:
- v*
permissions:
contents: write
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Tests
uses: ./.github/actions/tests
create_release:
runs-on: ubuntu-latest
needs: tests
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create Release
uses: ncipollo/release-action@v1
with:
tag: ${{ github.ref_name }}
generateReleaseNotes: true
# build and push docker image
release-docker:
runs-on: ubuntu-latest
needs:
- tests
- create_release
environment: 'Dockerhub'
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Docker Build
uses: ./.github/actions/docker
with:
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
release-python:
runs-on: ubuntu-latest
needs:
- tests
- create_release
timeout-minutes: 20
environment: 'PyPi'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy release to PyPi
uses: ./.github/actions/python
with:
pypi_api_token: "${{ secrets.PYPI_API_TOKEN }}"