bingo / .github /workflows /docker.yml
connor12's picture
Duplicate from hf4all/bingo
d7bca75
raw
history blame contribute delete
630 Bytes
name: Build Docker Image
on:
push:
branches:
- main
jobs:
github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Login to github registry
uses: actions-hub/docker/login@master
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Build :latest
if: success()
run: docker build -t weaigc/bingo:latest .
- name: Push to docker hub :latest
if: success()
uses: actions-hub/docker@master
with:
args: push weaigc/bingo:latest