* Add Dockerfile. * Add gunicorn config files for local development. * Add .dockerignore file. Co-authored-by: Joseph Mulloy <jmulloy@edx.org> Co-authored-by: Fred Smith <derf@edx.org> Co-authored-by: Adam Blackwell <ablackwell@edx.org> Co-authored-by: Kyle McCormick <kmccormick@edx.org> Co-authored-by: Nadeem Shahzad <nshahzad@edx.org>
23 lines
519 B
YAML
23 lines
519 B
YAML
name: Push Docker Images
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
# Push image to GitHub Packages.
|
|
# See also https://docs.docker.com/docker-hub/builds/
|
|
push:
|
|
runs-on: ubuntu-latest
|
|
if: github.event_name == 'push'
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build and Push docker image
|
|
env:
|
|
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
|
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
run : make docker_push
|