File size: 630 Bytes
d7bca75 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
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
|