Skip to content

Added Docker build workflow and updated Dockerfile #2

Added Docker build workflow and updated Dockerfile

Added Docker build workflow and updated Dockerfile #2

Workflow file for this run

name: Docker Build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and Push Docker Image
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
docker build -t snjax/zeropool-docs:latest .
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
docker push snjax/zeropool-docs:latest