chore: update cd configuration

This commit is contained in:
Xyphuz 2022-05-14 22:14:34 +08:00
parent 14966ab00f
commit d8c45c5fde
3 changed files with 17 additions and 3 deletions

View file

@ -1,14 +1,16 @@
name: CD
on:
release:
types: [ created ]
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and Publish to PyPi
uses: JRubics/poetry-publish@v1.10
with:

View file

@ -5,6 +5,12 @@ on:
tags:
- "v*"
permissions:
id-token: "write"
contents: "write"
packages: "write"
pull-requests: "read"
jobs:
tagged-release:
runs-on: "ubuntu-latest"

View file

@ -3,7 +3,13 @@ name = "compose-viz"
version = "0.1.0"
description = "A docker-compose/podman-compose graph visualization tool that allows you to gernerate graph in DOT format or PNG."
authors = ["Xyphuz Wu <xyphuzwu@gmail.com>"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/compose-viz/compose-viz"
repository = "https://github.com/compose-viz/compose-viz"
include = [
"LICENSE",
]
[tool.poetry.dependencies]
python = "^3.9"
@ -17,4 +23,4 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
compose_viz = "compose_viz.cli:start_cli"
cpv = "compose_viz.cli:start_cli"