mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-19 23:11:44 -04:00
Tag docker image with branch name after build (#616)
Add docker cloud stack config file
This commit is contained in:
1 parent
8aa46126c5
commit
17dcd3fdb2
2 files changed
+11
-1
No files matched your search
+1
-1
@@ -21,6 +21,6 @@ script:
|
||||
|
||||
after_success:
|
||||
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
||||
- docker tag opensourcepos_php jekkos/opensourcepos:latest
|
||||
- docker tag opensourcepos_php jekkos/opensourcepos:$TRAVIS_BRANCH
|
||||
- docker push jekkos/opensourcepos
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
web:
|
||||
image: jekkos/opensourcepos
|
||||
links:
|
||||
- mysql
|
||||
ports:
|
||||
- "80:80"
|
||||
roles:
|
||||
- global
|
||||
mysql:
|
||||
image: mysql
|
||||
Reference in new issue
Block a user