chore: update cd configuration
This commit is contained in:
parent
14966ab00f
commit
d8c45c5fde
3 changed files with 17 additions and 3 deletions
6
.github/workflows/cd.yml
vendored
6
.github/workflows/cd.yml
vendored
|
@ -1,14 +1,16 @@
|
||||||
name: CD
|
name: CD
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [ created ]
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build and Publish to PyPi
|
- name: Build and Publish to PyPi
|
||||||
uses: JRubics/poetry-publish@v1.10
|
uses: JRubics/poetry-publish@v1.10
|
||||||
with:
|
with:
|
||||||
|
|
6
.github/workflows/release-tagged-version.yml
vendored
6
.github/workflows/release-tagged-version.yml
vendored
|
@ -5,6 +5,12 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
id-token: "write"
|
||||||
|
contents: "write"
|
||||||
|
packages: "write"
|
||||||
|
pull-requests: "read"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tagged-release:
|
tagged-release:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
|
|
@ -3,7 +3,13 @@ name = "compose-viz"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "A docker-compose/podman-compose graph visualization tool that allows you to gernerate graph in DOT format or PNG."
|
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>"]
|
authors = ["Xyphuz Wu <xyphuzwu@gmail.com>"]
|
||||||
|
readme = "README.md"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
homepage = "https://github.com/compose-viz/compose-viz"
|
||||||
|
repository = "https://github.com/compose-viz/compose-viz"
|
||||||
|
include = [
|
||||||
|
"LICENSE",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.9"
|
python = "^3.9"
|
||||||
|
@ -17,4 +23,4 @@ requires = ["poetry-core>=1.0.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
compose_viz = "compose_viz.cli:start_cli"
|
cpv = "compose_viz.cli:start_cli"
|
||||||
|
|
Loading…
Reference in a new issue