ci: add docker image build and push on develop

This commit is contained in:
sct
2020-10-29 03:46:07 +00:00
parent fec313583e
commit 092161e432

View File

@@ -3,7 +3,7 @@ name: Overseerr CI
on:
pull_request:
branches:
- "*"
- '*'
push:
branches:
- develop
@@ -23,3 +23,16 @@ jobs:
run: yarn lint
- name: build
run: yarn build
build_and_push:
name: Build and push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Build and push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: sctx/overseerr
tags: latest