Skip to content

Commit

Permalink
Merge pull request #36 from bastelfreak/travistodocker
Browse files Browse the repository at this point in the history
docker: publish image to correct organisation
  • Loading branch information
Robert Müller authored Jul 30, 2019
2 parents d11df12 + a1817a1 commit 3fa683b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker_push.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin
docker build -t voxpupuli/vox-pupli-tasks:latest .
docker build -t voxpupuli/vox-pupuli-tasks:latest -t "voxpupuli/vox-pupuli-tasks:$(git rev-parse --short HEAD)" .
docker push voxpupuli/vox-pupuli-tasks:latest
docker push "voxpupuli/vox-pupuli-tasks:$(git rev-parse --short HEAD)"

0 comments on commit 3fa683b

Please sign in to comment.