Skip to content

Merge pull request #89 from r0fls/rd/async-order-filled #570

Merge pull request #89 from r0fls/rd/async-order-filled

Merge pull request #89 from r0fls/rd/async-order-filled #570

Workflow file for this run

name: Build and Push Docker image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/soad-trading-system:latest
- name: Build and push
uses: docker/build-push-action@v3
with:
context: trading-dashboard
file: trading-dashboard/Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/soad-trading-dashboard:latest
- name: Image digest
run: echo ${{ steps.build-and-push.outputs.digest }}