Skip to content

Merge branch 'main' of https://github.com/KenWuqianghao/algoherence #10

Merge branch 'main' of https://github.com/KenWuqianghao/algoherence

Merge branch 'main' of https://github.com/KenWuqianghao/algoherence #10

Workflow file for this run

name: Streamlit Docker Build and Push
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
run: echo ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Build and push Docker image
run: |
docker buildx create --use
docker buildx build \
--file ./Dockerfile \
--tag jamesliangg/algoherence:latest \
--push .
env:
DOCKER_CLI_EXPERIMENTAL: enabled
DOCKER_BUILDKIT: 1