自动化构建 Python 3.10 + Cloud Center
continuous-integration/drone/push Build is running Details

main
lz-wang 2022-09-06 22:27:41 +08:00
parent 88eb77d43a
commit c0e8bc77e0
1 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,7 @@ steps:
from_secret: docker_hub_token
commands:
- echo $USERNAME
- docker build . -t $USERNAME/python3.10:nightly -f ./python3.10/Dockerfile
- docker build . -t $USERNAME/python3.10:nightly -f ./python3.10/Dockerfile --no-cache
- docker login -u $USERNAME -p $TOKEN
- docker push $USERNAME/python3.10:nightly
@ -49,6 +49,10 @@ steps:
from_secret: docker_hub_token
commands:
- echo $USERNAME
- docker build . -t $USERNAME/cloud-center:linux-nightly -f ./cloud-center/Dockerfile
- docker build . -t $USERNAME/cloud-center:linux-nightly -f ./cloud-center/Dockerfile --no-cache
- docker login -u $USERNAME -p $TOKEN
- docker push $USERNAME/cloud-center:linux-nightly
- name: Docker Clean
commands:
- docker system prune --all --volumes --force