Skip to content

Commit

Permalink
Push docker image to docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Nov 19, 2019
1 parent d6fe8f6 commit 8978e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .drone.starlark
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,8 @@ def buildDockerImage():
'DOCKER_HOST': 'tcp://docker:2375'
},
'commands': [
'docker build -t owncloud/phoenix:${DRONE_COMMIT_SHA}-${DRONE_BUILD_NUMBER} .'
'docker build -t owncloud/phoenix:${DRONE_COMMIT_SHA}-${DRONE_BUILD_NUMBER} .',
'docker push owncloud/phoenix:latest'
],
'when': {
'event': [
Expand Down
1 change: 1 addition & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4963,6 +4963,7 @@ steps:
image: toolhippie/docker:latest
commands:
- docker build -t owncloud/phoenix:${DRONE_COMMIT_SHA}-${DRONE_BUILD_NUMBER} .
- docker push owncloud/phoenix:latest
environment:
DOCKER_HOST: tcp://docker:2375
when:
Expand Down

0 comments on commit 8978e1c

Please sign in to comment.