feat: added ui base template for chat #280
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Push Docker Images | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
openapi_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/openapi Docker image | |
run: docker build -t shawakash/paybox-openapi:${{ github.sha }} -f ./docker/openapi/Dockerfile . | |
- name: Push @paybox/openapi Docker image | |
run: docker push shawakash/paybox-openapi:${{ github.sha }} | |
kafka_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/kafka Docker image | |
run: docker build -t shawakash/paybox-kafka:${{ github.sha }} -f ./docker/kafka/Dockerfile . | |
- name: Push @paybox/kafka Docker image | |
run: docker push shawakash/paybox-kafka:${{ github.sha }} | |
zeus_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/zeus Docker image | |
run: docker build -t shawakash/paybox-zeus:${{ github.sha }} -f ./docker/zeus/Dockerfile . | |
- name: Push @paybox/zeus Docker image | |
run: docker push shawakash/paybox-zeus:${{ github.sha }} | |
common_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/common Docker image | |
run: docker build -t shawakash/paybox-common:${{ github.sha }} -f ./docker/common/Dockerfile . | |
- name: Push @paybox/common Docker image | |
run: docker push shawakash/paybox-common:${{ github.sha }} | |
recoil_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/recoil Docker image | |
run: docker build -t shawakash/paybox-recoil:${{ github.sha }} -f ./docker/recoil/Dockerfile . | |
- name: Push @paybox/recoil Docker image | |
run: docker push shawakash/paybox-recoil:${{ github.sha }} | |
api_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/api Docker image | |
run: docker build -t shawakash/paybox-api:${{ github.sha }} -f ./docker/api/Dockerfile . | |
- name: Push @paybox/api Docker image | |
run: docker push shawakash/paybox-api:${{ github.sha }} | |
ws_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/ws Docker image | |
run: docker build -t shawakash/paybox-ws:${{ github.sha }} -f ./docker/ws/Dockerfile . | |
- name: Push @paybox/ws Docker image | |
run: docker push shawakash/paybox-ws:${{ github.sha }} | |
mote_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/mote Docker image | |
run: docker build -t shawakash/paybox-mote:${{ github.sha }} -f ./docker/mote/Dockerfile ./backend/mote | |
- name: Push @paybox/mote Docker image | |
run: docker push shawakash/paybox-mote:${{ github.sha }} | |
chat_zeus_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/chat-zeus Docker image | |
run: docker build -t shawakash/paybox-chat-zeus:${{ github.sha }} -f ./docker/chat-zeus/Dockerfile . | |
- name: Push @paybox/chat-zeus Docker image | |
run: docker push shawakash/paybox-chat-zeus:${{ github.sha }} | |
backend_common_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build @paybox/backend-common Docker image | |
run: docker build -t shawakash/paybox-backend-common:${{ github.sha }} -f ./docker/backend-common/Dockerfile . | |
- name: Push @paybox/backend-common Docker image | |
run: docker push shawakash/paybox-backend-common:${{ github.sha }} |