Skip to content

chore: release 1.0.0-beta.6 #153

chore: release 1.0.0-beta.6

chore: release 1.0.0-beta.6 #153

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Docker Image
run: >-
docker build
--build-arg NEXT_PUBLIC_PROCESSOR_URL=https://dev.opentrader.dev
--build-arg NEXT_PUBLIC_PROCESSOR_ENABLE_TRPC=true
--build-arg NEXT_PUBLIC_STATIC=true
--build-arg ADMIN_PASSWORD=password
--build-arg GITHUB_TOKEN=${{ secrets.PRO_GITHUB_TOKEN }}
-f pro.Dockerfile
-t opentrader/opentrader:latest .
- name: Push Docker Image
run: docker push opentrader/opentrader:latest