测试ssh pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
9356091e2e
commit
e5522885b0
|
@ -93,12 +93,12 @@ steps:
|
||||||
- docker images
|
- docker images
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
environment:
|
environment:
|
||||||
docker_hub_user:
|
USERNAME:
|
||||||
from_secret: docker_hub_username
|
from_secret: docker_hub_username
|
||||||
docker_hub_token:
|
TOKEN:
|
||||||
from_secret: docker_hub_token
|
from_secret: docker_hub_token
|
||||||
commands:
|
commands:
|
||||||
- echo ${docker_hub_username}
|
- echo $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 login -u $USERNAME -p $TOKEN
|
||||||
- docker push lzwang/python3.10:vps
|
- docker push lzwang/python3.10:vps
|
||||||
|
|
Loading…
Reference in New Issue