ci: add docker image build and push on develop

pull/157/head
sct 4 years ago
parent fec313583e
commit 092161e432

@ -3,7 +3,7 @@ name: Overseerr CI
on: on:
pull_request: pull_request:
branches: branches:
- "*" - '*'
push: push:
branches: branches:
- develop - develop
@ -23,3 +23,16 @@ jobs:
run: yarn lint run: yarn lint
- name: build - name: build
run: yarn 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

Loading…
Cancel
Save