build: Initial docker build & publish workflow

This commit is contained in:
Mars Lan 2020-05-29 15:53:24 -07:00 committed by GitHub
parent ebe2dc274c
commit 2a53c8762d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Build and publish docker images to docker hub
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
path: ./docker/gms
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: linkedin/datahub-gms
tags: latest