mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-20 03:42:48 -04:00
Tag docker image with branch name after build (#616)
Add docker cloud stack config file
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
10
docker-cloud.yml
Normal file
10
docker-cloud.yml
Normal file
@@ -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