Some checks failed
Build and Deploy / build (push) Failing after 1m56s
21 lines
399 B
YAML
21 lines
399 B
YAML
name: Build and Deploy
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-amd64
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build container
|
|
run: |
|
|
./build.sh
|
|
|
|
- name: Push to Docker Hub
|
|
run: |
|
|
docker login -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }}
|
|
./push.sh |