mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-07 12:23:00 +08:00
update ci
This commit is contained in:
parent
1035858fa4
commit
0959746063
@ -8,6 +8,7 @@ orbs:
|
|||||||
python: circleci/python@1.4
|
python: circleci/python@1.4
|
||||||
# poetry: frameio/poetry@0.21.0
|
# poetry: frameio/poetry@0.21.0
|
||||||
swissknife: roopakv/swissknife@0.59.0
|
swissknife: roopakv/swissknife@0.59.0
|
||||||
|
docker: circleci/docker@1.7.0
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
build-test-publish:
|
build-test-publish:
|
||||||
@ -17,6 +18,8 @@ workflows:
|
|||||||
tags:
|
tags:
|
||||||
only: /.*/
|
only: /.*/
|
||||||
- build-publish:
|
- build-publish:
|
||||||
|
context:
|
||||||
|
- docker
|
||||||
requires:
|
requires:
|
||||||
- test
|
- test
|
||||||
filters:
|
filters:
|
||||||
@ -60,4 +63,9 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
command: poetry publish -u $PYPI_USERNAME -p $PYPI_PASSWORD
|
command: poetry publish -u $PYPI_USERNAME -p $PYPI_PASSWORD
|
||||||
name: publish to pypi
|
name: publish to pypi
|
||||||
|
- docker/publish:
|
||||||
|
image: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
|
||||||
|
update-description: true
|
||||||
|
docker-username: $DOCKERHUB_USERNAME
|
||||||
|
docker-password: $DOCKERHUB_PASSWORD
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user