mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 15:24:35 -04:00
Push to docker registry if build successful
This commit is contained in:
1 parent
8671a59b4b
commit
9f380bc083
1 file changed
+4
@@ -14,3 +14,7 @@ before_install:
|
||||
|
||||
script:
|
||||
- docker exec -t -i $(docker ps | tail -n 1 | cut -d' ' -f1) /bin/sh -c "while ! curl http://localhost/index.php | grep username; do sleep 1; done; cd app && grunt mochaWebdriver:test"
|
||||
|
||||
after_success:
|
||||
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
||||
- docker push jekkos/opensourcepos
|
||||
Reference in new issue
Block a user