测试ssh pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
6a1e9f9ef5
commit
9356091e2e
|
@ -92,6 +92,13 @@ steps:
|
||||||
- docker ps
|
- docker ps
|
||||||
- docker images
|
- docker images
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
|
environment:
|
||||||
|
docker_hub_user:
|
||||||
|
from_secret: docker_hub_username
|
||||||
|
docker_hub_token:
|
||||||
|
from_secret: docker_hub_token
|
||||||
commands:
|
commands:
|
||||||
|
- echo ${docker_hub_username}
|
||||||
- docker build . -t lzwang/python3.10:vps -f ./Dockerfile
|
- docker build . -t lzwang/python3.10:vps -f ./Dockerfile
|
||||||
|
- docker login -u ${docker_hub_username} -p ${docker_hub_token}
|
||||||
- docker push lzwang/python3.10:vps
|
- docker push lzwang/python3.10:vps
|
||||||
|
|
Loading…
Reference in New Issue