mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-07 04:13:00 +08:00
update ci
This commit is contained in:
parent
0959746063
commit
878b6fa32b
@ -18,8 +18,6 @@ workflows:
|
|||||||
tags:
|
tags:
|
||||||
only: /.*/
|
only: /.*/
|
||||||
- build-publish:
|
- build-publish:
|
||||||
context:
|
|
||||||
- docker
|
|
||||||
requires:
|
requires:
|
||||||
- test
|
- test
|
||||||
filters:
|
filters:
|
||||||
@ -27,6 +25,21 @@ workflows:
|
|||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
||||||
|
- docker/publish:
|
||||||
|
requires:
|
||||||
|
- test
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
ignore: /.*/
|
||||||
|
tags:
|
||||||
|
only: /^v.*/
|
||||||
|
context:
|
||||||
|
- docker
|
||||||
|
image: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
|
||||||
|
tag: latest,${CIRCLE_TAG}
|
||||||
|
update-description: true
|
||||||
|
docker-username: $DOCKERHUB_USERNAME
|
||||||
|
docker-password: $DOCKERHUB_PASSWORD
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -63,9 +76,4 @@ 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