This commit is contained in:
@@ -18,10 +18,10 @@ jobs:
|
||||
registry: https://registry.rokoh.com
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build . -t rokoh:latest -f plushealthtech/Dockerfile
|
||||
run: docker build . -t plushealthtech:latest -f plushealthtech/Dockerfile
|
||||
|
||||
- name: Tag Docker image
|
||||
run: docker tag rokoh:latest registry.rokoh.com/plushealthtech:latest
|
||||
run: docker tag plushealthtech:latest registry.rokoh.com/plushealthtech:latest
|
||||
|
||||
- name: Push Docker image to registry
|
||||
run: docker push registry.rokoh.com/plushealthtech:latest
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
docker image rm plushealthtech:latest
|
||||
fi
|
||||
docker login registry.rokoh.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} && docker image pull registry.rokoh.com/plushealthtech:latest
|
||||
docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/plushealthtech
|
||||
docker run -d -p 2000:80 --restart=always --name plushealthtech registry.rokoh.com/plushealthtech
|
||||
docker image prune -f
|
||||
|
||||
- name: Prune Docker resources
|
||||
|
||||
@@ -18,10 +18,10 @@ jobs:
|
||||
registry: https://registry.rokoh.com
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build . -t rokoh:latest -f plushealthtech/Dockerfile
|
||||
run: docker build . -t plushealthtech:latest -f plushealthtech/Dockerfile
|
||||
|
||||
- name: Tag Docker image
|
||||
run: docker tag rokoh:latest registry.rokoh.com/plushealthtech:latest
|
||||
run: docker tag plushealthtech:latest registry.rokoh.com/plushealthtech:latest
|
||||
|
||||
- name: Push Docker image to registry
|
||||
run: docker push registry.rokoh.com/plushealthtech:latest
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
docker image rm plushealthtech:latest
|
||||
fi
|
||||
docker login registry.rokoh.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} && docker image pull registry.rokoh.com/plushealthtech:latest
|
||||
docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/plushealthtech
|
||||
docker run -d -p 2000:80 --restart=always --name plushealthtech registry.rokoh.com/plushealthtech
|
||||
docker image prune -f
|
||||
|
||||
- name: Prune Docker resources
|
||||
|
||||
Reference in New Issue
Block a user