Skip to content

Merge pull request #856 from openmeterio/refactor-app-lifecycle #74

Merge pull request #856 from openmeterio/refactor-app-lifecycle

Merge pull request #856 from openmeterio/refactor-app-lifecycle #74

Workflow file for this run

name: Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-dev.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+"
permissions:
contents: read
jobs:
artifacts:
name: Artifacts
uses: ./.github/workflows/artifacts.yaml
with:
publish: true
permissions:
contents: read
packages: write
id-token: write
security-events: write
dagger:
name: Dagger
runs-on: ubuntu-latest-large
permissions:
contents: write
packages: write
id-token: write
security-events: write
steps:
- name: Free disk space
uses: jlumbroso/[email protected]
- name: Run pipeline
uses: dagger/dagger-for-github@eba69b4dddb54eddfdb51a88eb7fd86957137630 # v5.4.0
with:
verb: call
module: github.com/${{ github.repository }}@${{ github.ref }}
args: --ref ${{ github.ref }} release --version ${{ github.ref_name }} --github-actor ${{ github.actor }} --github-token env:GITHUB_TOKEN --pypi-token env:PYPI_TOKEN
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.11.2"
env:
GITHUB_TOKEN: ${{ github.token }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}