dockerhub image url

This commit is contained in:
Thomas Rudin 2019-11-26 13:17:26 +01:00
parent aa86d9e31a
commit b2fd625c1b
2 changed files with 8 additions and 8 deletions

View File

@ -27,9 +27,9 @@ jobs:
services: services:
- docker - docker
script: script:
- docker build -t buckaroobanzay/mapserver:latest . - docker build -t minetesttools/mapserver:latest .
- docker login -u $DOCKER_USER -p $DOCKER_PASS - docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker push buckaroobanzay/mapserver - docker push minetesttools/mapserver
- stage: dockerhub push tag - stage: dockerhub push tag
if: tag IS present if: tag IS present
@ -37,10 +37,10 @@ jobs:
services: services:
- docker - docker
script: script:
- docker build -t buckaroobanzay/mapserver:latest . - docker build -t minetesttools/mapserver:latest .
- docker tag buckaroobanzay/mapserver:latest buckaroobanzay/mapserver:$TRAVIS_TAG - docker tag minetesttools/mapserver:latest minetesttools/mapserver:$TRAVIS_TAG
- docker login -u $DOCKER_USER -p $DOCKER_PASS - docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker push buckaroobanzay/mapserver - docker push minetesttools/mapserver
env: env:
global: global:

View File

@ -14,10 +14,10 @@ For additional infos (lag,time,players => active mode) on the mapserver interfac
## Docker image ## Docker image
Simple docker run example: Simple docker run example to run in the world-directory:
``` ```
docker run --rm --it -p 8080:8080 -v $(pwd):/minetest -w /minetest buckaroobanzay/mapserver docker run --rm --it -p 8080:8080 -v $(pwd):/minetest -w /minetest minetesttools/mapserver
``` ```
## Docker compose ## Docker compose
@ -27,7 +27,7 @@ Examplary `docker-compose` config:
```yml ```yml
services: services:
mapserver: mapserver:
image: buckaroobanzay/mapserver image: minetesttools/mapserver
restart: always restart: always
networks: networks:
- default - default