Compare commits
2 Commits
1226c42f19
...
7d7f5750e3
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d7f5750e3 | |||
| 789ba35c60 |
@@ -42,7 +42,7 @@ steps:
|
|||||||
- name: docker build and push
|
- name: docker build and push
|
||||||
image: docker:24.0.7
|
image: docker:24.0.7
|
||||||
commands:
|
commands:
|
||||||
- $dockerImageWithTag = "$docker_registry$docker_repo:$DRONE_BRANCH"
|
- dockerImageWithTag="$docker_registry$docker_repo:$DRONE_BRANCH"
|
||||||
- docker build . -t $dockerImageWithTag
|
- docker build . -t $dockerImageWithTag
|
||||||
- echo $docker_password | docker login --username $docker_username --password-stdin $docker_registry
|
- echo $docker_password | docker login --username $docker_username --password-stdin $docker_registry
|
||||||
- docker push $dockerImageWithTag
|
- docker push $dockerImageWithTag
|
||||||
|
|||||||
Reference in New Issue
Block a user